taskbook
taskbook copied to clipboard
Consider making commands be commands instead of flags
taskbook 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.
it would still be reasonable to have aliases for commands too similar to how npm has both npm install
and npm i
I agree but there are no options in meow which ignore --
prefix.
I think that is why there is discussion on Gitter to investigate using yargs or commander.js
@colingm Yeah I have remember.
taskbook 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.
I definitely agree with this request. Using commands, as opposed to flags, would seem to make more sense.