Module: Sake::Help
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#display ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/help.rb', line 5 def display die "Usage: sake [options]\n\nAny <file> can be either a local file or a remote URL (such as a web page).\n\n-T Show installed Sake tasks.\n-T pattern Show installed Sake tasks matching <pattern>.\n-T file Show tasks in <file>.\n-T file pattern Show tasks in <file>.\n-Tv Show all installed Sake tasks.\n-Tv pattern Show all installed Sake tasks matching <pattern>.\n-Tv file Show all tasks in <file>.\n-Tv file pattern Show all tasks in <file>.\n\n-i file Install all tasks from <file>.\n-i file tasks Install tasks from <file>. Can be one or more tasks.\n\n-u tasks Uninstall one or more tasks.\n\n-e task Show the source for task.\n-e file Show the source for all tasks from <file>.\n-e file tasks Show the source for <task> as defined in <file>. \n-P [file/tasks] Send the source for tasks to Pastie (see -e for options).\n\n-S Start a Mongrel handler and serve your installed Sake tasks\n over port 4567.\n-p Set the port to serve Sake tasks on. Defaults to 4567. Only\n works with -S.\n-d Start and daemonize a Sake server. Only works with -S.\n end_help\nend\n" |