From 0e8b19eaa949d36b477b26c556702facf2307650 Mon Sep 17 00:00:00 2001 From: Tom Fleet Date: Tue, 20 Aug 2024 16:51:38 +0100 Subject: [PATCH] Refine todos --- TODO.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/TODO.md b/TODO.md index 6e39a0d..e47b9e5 100644 --- a/TODO.md +++ b/TODO.md @@ -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 ` 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