Basic operations
Install
Shortest version(Not supported in Zsh)
$ wget easy.sh/x && . x
Standard version
via wget
$ wget easy.sh/x && source x
via curl
$ curl easy.sh/x > x && source x
Create command
$ easy say-hi 'echo "Hi! $1!"'
Create command & Set help text
$ easy say-hi 'echo "Hi! $1!"' 'Just say hi. usage: say-hi xxx'
Modify command
$ easy say-hi 'echo "Hello $1!"'
Update help text
$ easy say-hi -h 'Just say hello. usage: say-hi xxx'
Run command
$ say-hi World
Hello World!
Print help text
$ easy -h say-hi
Just say hello. usage: say-hi xxx
Delete command
$ easy say-hi
Unset commands
$ easy --unset
Unset the command with the specified name
$ easy --unset say-hi
Sync commands
$ easy
Sync commands & Print commands
$ easy -p
Sync commands & Print the command with the specified name
$ easy -p say-hi
say-hi: echo "Hello $1!"
Print client usage help text
$ easy -h
Print client version
$ easy -v
easy-client/x.x.x (x-mode)
Print current user
$ easy -i
easy (L3)
Change current user
$ easy --su
Remove client & Remove commands
$ easy --rm