The current command interface makes not possible for creating notes with the first word coincides with the name of a command.
Like:
note show something to someone
It would not create the note.
The way to do it would be using quotes:
note "show something to someone"
If we change the commands to flags it would be possible.
I am not so favorable to the approach of using flags as command, for me flags are only for the purpose of informing named parameters/values.
But I'm not sure if it would be the case for the note considering the simplicity of the tool.
I would love to have the opinion of anyone using note. What do you think, would be better to have --show, --edit, --delete and --list flags instead of commands (breaking the actual interface) to be able to use these words at the beginning without quotes when creating notes?
The current command interface makes not possible for creating notes with the first word coincides with the name of a command.
Like:
It would not create the note.
The way to do it would be using quotes:
note "show something to someone"If we change the commands to flags it would be possible.
I am not so favorable to the approach of using flags as command, for me flags are only for the purpose of informing named parameters/values.
But I'm not sure if it would be the case for the
noteconsidering the simplicity of the tool.I would love to have the opinion of anyone using
note. What do you think, would be better to have--show,--edit,--deleteand--listflags instead of commands (breaking the actual interface) to be able to use these words at the beginning without quotes when creating notes?