flatten commands

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Review the usage CLI's existing command definitions and the generate completion and complete-word entry points. Decide on a flatter command layout that accounts for likely future commands; done means the command structure and any rename are agreed and documented clearly enough to implement.

Written by the indexing model from the issue text.

Description

enhancement

The usage CLI has command structures that are way too deep considering it only has a handful of commands. e.g.: usage generate completion bash is very deep considering the only other command right now is usage complete-word which is only ever used internally.

Naively, this could just be usage gen-completion bash or something.

Before I do this I need to think a bit long-term and about what commands this CLI might contain.

Dominant language
Rust
Stars
1k
Forks
59
Avg merge
5h 58m
Merged PRs (30d)
362

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.

More from jdx/usage

All issues in jdx/usage

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.