Consider making commands be commands instead of flags
See original GitHub issuetaskbook uses flags for all of the actions it can do:
$ tb --task hello world
$ tb --check 1
These commands do not compose as flags would imply in a CLI, so they should probably just be commands and not flags:
$ tb task hello world
$ tb check 1
This makes it a lot easier to type stuff out, and more coherent with how other CLI apps work.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:5
Top Results From Across the Web
Understanding and Using Makefile Flags - Earthly Blog
First, just like any other makefile variable, these flags can be overridden when invoking make from the command line.
Read more >Is there a difference between a command line flag and a ...
"Flags" specifically, are Boolean arguments, set by the mere inclusion of the command-line argument, with no additional data needed or ...
Read more >How can I/Should I default flags when running a command?
Creating a function or a ~/bin/ script to replace a command will need you to reference the command directly.
Read more >Instead of Execution (GNU make)
With the ' -t ' flag, make ignores the recipes in the rules and uses (in effect) the command touch for each target...
Read more >Git Command Overview with Useful Flags and Aliases
This post is a short guide to making your git usage a little more efficient. We're not going to cover how git works...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it would still be reasonable to have aliases for commands too similar to how npm has both
npm install
andnpm i
I definitely agree with this request. Using commands, as opposed to flags, would seem to make more sense.