Skip to content

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

@gumieri

Description

@gumieri

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions