Skip to content

Commit

Permalink
Refine todos
Browse files Browse the repository at this point in the history
  • Loading branch information
FollowTheProcess committed Aug 20, 2024
1 parent acdf80a commit 0e8b19e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ Things I want to do to make this library as good as it can be and a better, simp
- [ ] Figure out if/how we support setting custom flag types e.g. implement `Value`. Try this out in an example, does it work with `Flaggable`, how do we make it work?
- [x] How to handle conflicting flags e.g. `--version` has a short of `-v`, what if we want `-v` to mean verbosity, should be an error if there's a conflicting flag
- [x] Make it easier to do ldflags with version info etc. Should support commit hash, version/tag number, build date
- [ ] Output shell completion with a `--completion <shell>` flag, should be only available on the root command

## Ideas

Things that might be good but not committed to doing yet and/or haven't decided if they are worth it.

- [ ] Wrap long description at a sensible limit
- [ ] Named arguments e.g. `git clone REPO` could retrieve an arg by name and would be good for the help text
- [ ] Make a CLI cli (lol) like cobra-cli to generate CLI apps?
- [ ] Cleverly look at what `cli.Allow` is set to to dynamically render the usage info

[clap]: https://github.com/clap-rs/clap
[vhs]: https://github.com/charmbracelet/vhs

0 comments on commit 0e8b19e

Please sign in to comment.