gitpod-io / gitpod-io/leeway

Provide tab-completion for `leeway run`

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
183
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe

Currently tab-completion for Leeway doesn't work for "scripts", so leeway run <tab> will just give you normal shell tab-completion.

Describe the behaviour you'd like

leeway run <tab> should suggest all scripts in any leeway component in the workspace.

Describe alternatives you've considered

I haven't considered any alternatives.

Additional context

Nope

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the leeway run CLI entry point and the existing completion implementation, then trace how scripts are discovered across workspace components. Confirm how shell completion is currently generated or registered. Done means leeway run <tab> suggests all scripts in any workspace component and the relevant completion behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.