made an awesome help message
parent
fb643f7398
commit
a379e585f5
84
messages.rkt
84
messages.rkt
|
@ -7,47 +7,73 @@
|
||||||
(define messages
|
(define messages
|
||||||
(hash
|
(hash
|
||||||
'show-help (string-append
|
'show-help (string-append
|
||||||
"Usage:"
|
"Usage\n"
|
||||||
"\n"
|
"======\n"
|
||||||
"rodo <command> [optional argument]\n"
|
"If using the "
|
||||||
|
"<" config:initialize-command ">" " or "
|
||||||
|
"<" config:list-command ">" " commands, follow the structure below:\n"
|
||||||
|
config:program-name " <command>\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
config:initialize-command ":\n"
|
"If using the "
|
||||||
"Initialize a file in "
|
"<" config:add-command ">" " or "
|
||||||
|
"<" config:remove-command ">" " commands, follow the structure below:\n"
|
||||||
|
config:program-name " <command> [argument]\n"
|
||||||
|
"\n"
|
||||||
|
|
||||||
|
"Commands\n"
|
||||||
|
"======\n"
|
||||||
|
|
||||||
|
"<" config:initialize-command ">" ":\n"
|
||||||
|
"Create a file in "
|
||||||
config:program-directory
|
config:program-directory
|
||||||
config:program-file "\n"
|
config:program-file
|
||||||
|
" where your todo list will be stored\n"
|
||||||
"Example: "
|
"Example:\n"
|
||||||
"rodo init\n"
|
config:program-name " "
|
||||||
|
config:initialize-command "\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
config:list-command ":\n"
|
"<" config:list-command ">" ":\n"
|
||||||
"Lists items on the list"
|
"Displays items in the list\n"
|
||||||
"\n"
|
"Example:\n"
|
||||||
"Example: "
|
config:program-name " "
|
||||||
"rodo ls\n"
|
config:list-command "\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
config:add-command ":\n"
|
"<" config:add-command ">" " "
|
||||||
"Adds an item to the list"
|
"[argument]:\n"
|
||||||
"\n"
|
"Adds an item to the list\n"
|
||||||
"Example: "
|
"Example:\n"
|
||||||
"rodo add bread\n"
|
config:program-name " "
|
||||||
|
config:add-command " "
|
||||||
|
"bread\n"
|
||||||
|
config:program-name " "
|
||||||
|
config:add-command " "
|
||||||
|
"this is an unquoted task\n"
|
||||||
|
config:program-name " "
|
||||||
|
config:add-command " "
|
||||||
|
"\"this is a quoted task which isn't any different from an unquoted task\"\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
"Note: For multi-word items you will need to\n"
|
"<" config:remove-command ">" " "
|
||||||
"surround your item in double quotes as so:\n"
|
"[argument]:\n"
|
||||||
"rodo add \"go to the bank\"\n"
|
|
||||||
"\n"
|
|
||||||
|
|
||||||
config:remove-command ":\n"
|
|
||||||
"Removes an item from the list\n"
|
"Removes an item from the list\n"
|
||||||
"Example: "
|
"Example:\n"
|
||||||
"rodo rm 1\n"
|
config:program-name " " config:remove-command " " "1\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
"Note: You may have to use the ls command to see\n"
|
"Note: You may have to run "
|
||||||
"which number corresponds to which item\n")
|
"`" config:program-name " " config:list-command "`" " "
|
||||||
|
"see which number corresponds to which item in the list."
|
||||||
|
" In the example above, the first item was removed from the list\n"
|
||||||
|
"\n"
|
||||||
|
|
||||||
|
"Can't see this whole help message?\n"
|
||||||
|
"======\n"
|
||||||
|
"Try running "
|
||||||
|
"`" config:program-name " -h | less` to use the arrow keys "
|
||||||
|
"to scroll up and down through the help message\n")
|
||||||
|
|
||||||
'empty-todo-list "> There is nothing in your list \n"
|
'empty-todo-list "> There is nothing in your list \n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue