Method: CommandLineInterface#help

Defined in:
lib/thartmx.rb

#helpObject



256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
# File 'lib/thartmx.rb', line 256

def help
	s = ''
	s += 'Rrtm: Tha remember the milk Command Line Usage
usage rrtm <command> <params>

help: print this help and exits
lists: show available tasks lists
tasks [list name]: show not completed tasks
add <name>: name can be a task or in the form @list name@ task
add "<name>" : input is better parsed within quotes: task #Listname !priority_value(1..3) 
complete <id>: mark task with id "id" as completed
postpone <id>: postpone task by one day
first: show first uncompleted task
'
puts s
end