ref script t
This commit is contained in:
parent
45a0e43cc1
commit
5c6ac9cbcd
@ -20,16 +20,18 @@ cmd_help() {
|
||||
|
||||
t - Show notes in format '[INDEX] NOTE NAME (LINES)'
|
||||
t show - Show notes in format '[INDEX] NOTE NAME (LINES)'
|
||||
t namespaces - Show namespaces
|
||||
t (INDEX) - Show note content
|
||||
t add (X X X) - Add note with name X X X
|
||||
t edit (INDEX) - Edit note with INDEX by \$EDITOR
|
||||
t delete (INDEX) [INDEX] ... - Delete notes with INDEXes
|
||||
t done (INDEX) [INDEX] ... - Delete notes with INDEXes
|
||||
t namespaces - Show namespaces
|
||||
t --help - Show this message
|
||||
|
||||
t a - alias to add
|
||||
t e - alias to edit
|
||||
t d - alias to delete
|
||||
t ns - alias to namespaces
|
||||
t a - alias for add
|
||||
t e - alias for edit
|
||||
t d - alias for done
|
||||
t delete - alias for done
|
||||
t ns - alias for namespaces
|
||||
|
||||
|
||||
NAMESPACES
|
||||
@ -170,8 +172,8 @@ fi
|
||||
case "${1}" in
|
||||
show) shift; cmd_show_notes ;;
|
||||
ns|namespaces) shift; cmd_show_namespaces ;;
|
||||
add|a) shift; cmd_add_note "$@" ;;
|
||||
delete|d) shift; cmd_delete_note "$@" ;;
|
||||
a|add) shift; cmd_add_note "$@" ;;
|
||||
d|done|delete) shift; cmd_delete_note "$@" ;;
|
||||
e|edit) shift; cmd_edit_note "$@" ;;
|
||||
--help) shift; cmd_help ;;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user