nt
nt copied to clipboard
Make command args more like github
as the command line interface of this is going to be used by developers mostly, it will be a good idea to make command line arguments more like GitHub:
-
notya add [notename]
-
notya -d, --delete [note Id or anything that identifies the note]
-
notya push
-
notya restore
Cool suggestions from my uncle ❤️
We already have, remove
/rm
, command which is made to be like the UNIX command rm
.
As well as we have name changing, or I should say path changing command (i.e moving) same as UNIX's mv
.
We also have, push and pull commands. Which is feels like git but with better interactions.
See:
- https://github.com/insolite-dev/notya/wiki/Remove
- https://github.com/insolite-dev/notya/wiki/Rename
And for more: https://github.com/insolite-dev/notya/wiki
Saw them, yes I will remove push, -d and rm are equivalently famous so it does not matter too.
I think you should have notya config
to set configuration parameters with one command.
Like: notya config editor.default=/bin/code
And to edit configs with a text editor you should have the:
notya config --edit
Both of those commands are exact replicas of the git configuration.
I don't think you need --global
arg currently
Also create
the word itself is more likely to be associated with large processes.
add
is a better name as it represents simpler action and the creation of notes should be a very simple process.
Yep, mv
is better, you can use rn
too.
On UNIX, mv
also supports moving files from one directory to another.
Yep,
mv
is better, you can usern
too.On UNIX,
mv
also supports moving files from one directory to another.
Our mv
does exactly same thing as UNIX's mv
. Even in firebase remote connection
@campfire5 we have kinda config
command, see documentation here:
Actually it is called settings
but I'm not wrong, it has a alias called config
. So you can use it in both ways, as notya config
and notya settings
.
- https://github.com/insolite-dev/notya/wiki/Settings
- https://github.com/insolite-dev/notya/wiki/Remote
@campfire5 we have kinda
config
command, see documentation here: Actually it is calledsettings
but I'm not wrong, it has a alias calledconfig
. So you can use it in both ways, asnotya config
andnotya settings
.
- https://github.com/insolite-dev/notya/wiki/Settings
- https://github.com/insolite-dev/notya/wiki/Remote
I know that command, I think config is beeter name in terms of developer-familarity and also ability to set single config like editor.default by running one command is better idea.
Definitely, thanks for your suggestions man ❤️