Method: Cure::Cli::Command#help
- Defined in:
- lib/cure/cli/command.rb
#help(ex: nil) ⇒ Object
47 48 49 50 51 52 53 |
# File 'lib/cure/cli/command.rb', line 47 def help(ex: nil) log_error ex. if ex && ex.is_a?(StandardError) log_error "Error: unknown request" log_info "\nUsage: cure <command> [options]" log_info "\tRun: cure run -t [template] -f [file]" log_info "\tNew Project: cure new [name]" end |