Method: ConsoleView#show_usage

Defined in:
lib/console_view.rb

#show_usageObject



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/console_view.rb', line 23

def show_usage
	show <<-helptext
Usage: #{current_command_path} command [options]
Commands:
 help, -h, --help                     Print this help text.
 help <command>                       See the details of the command.
 xhelp                                Print help text for advanced commands.
 setup <framework> <kata_file>        Setup the environment for running the kata.
 upload-zip [<session_dir>]           Upload session as a ZIP file (beta feature)
 upload [<session_dir>]               Upload the kata to http://www.codersdojo.org and open the kata in a browser.
 upload-no-open [<session_dir>]       Upload the kata to http://www.codersdojo.org

Report bugs to <[email protected]>
helptext
end