Dynamic or Context-aware CLI Completion
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 212
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 119
Description
Golem CLI already has a fuzzy match, which introduces a better experience when working with it. However, I would like to have something like this, which helps users avoid having to remember and write their proper agent ID, etc.
golem agent get <Tab>
It makes a quick API call to the server and retrieves a list of agents, returning those IDs as suggestions. It can apply to any other command line arguments that require an option that is not fixed, e.g., golem agent update <Tab>.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Golem CLI's existing fuzzy-matching completion described in the issue and trace how agent arguments are handled. Define how a completion request should fetch agent IDs for golem agent get and golem agent update, then verify that dynamic suggestions work for those commands and other non-fixed options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100