updated help command
parent
1b007c883f
commit
76673f528d
11
README.md
11
README.md
|
@ -2,18 +2,25 @@
|
|||
A command-line todo list in Racket
|
||||
|
||||
* `init`: initialize a file in ~/.rodo/todo-list
|
||||
|
||||
Example: `rodo init`
|
||||
|
||||
* `ls`: lists items on the list
|
||||
|
||||
Example: `rodo rm 1`
|
||||
|
||||
* `add`: adds an item to the list
|
||||
|
||||
Example: `rodo add bread`
|
||||
|
||||
Note: For multi-word items you will need to
|
||||
surround your item in double quotes as so:
|
||||
`rodo add "go to the bank"`
|
||||
Example: `rodo add bread`
|
||||
|
||||
* `rm`: removes an item from the list
|
||||
|
||||
Example: `rodo rm 1`
|
||||
|
||||
Note: You may have to run `rodo ls` to see which
|
||||
number corresponds to which item to remove it.
|
||||
Example: `rodo rm 1`
|
||||
|
||||
|
|
11
messages.rkt
11
messages.rkt
|
@ -23,22 +23,21 @@
|
|||
"\x09Example: "
|
||||
"rodo rm 1\n\n"
|
||||
|
||||
|
||||
"* " add-command ": "
|
||||
"adds an item to the list"
|
||||
"\n"
|
||||
"\x09Example: "
|
||||
"rodo add bread\n\n"
|
||||
"\x09Note: For multi-word items you will need to\n"
|
||||
"\x09surround your item in double quotes as so:\n"
|
||||
"\x09rodo add \"go to the bank\"\n"
|
||||
"\x09Example: "
|
||||
"rodo add bread\n\n"
|
||||
|
||||
"* " remove-command ": "
|
||||
"removes an item from the list\n"
|
||||
"\x09Note: You may have to run `rodo ls` to see which\n"
|
||||
"\x09number corresponds to which item to remove it.\n"
|
||||
"\x09Example: "
|
||||
"rodo rm 1\n")
|
||||
"rodo rm 1\n"
|
||||
"\x09Note: You may have to run `rodo ls` to see which\n"
|
||||
"\x09number corresponds to which item to remove it.\n")
|
||||
|
||||
'empty-todo-list
|
||||
"Error> There is nothing in your list yet\n"
|
||||
|
|
Loading…
Reference in New Issue