Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should the "other commands" be converted to flags? #16

Open
gumieri opened this issue Oct 9, 2018 · 0 comments
Open

Should the "other commands" be converted to flags? #16

gumieri opened this issue Oct 9, 2018 · 0 comments
Labels
question Further information is requested

Comments

@gumieri
Copy link
Owner

gumieri commented Oct 9, 2018

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?

@gumieri gumieri added the question Further information is requested label Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant