module Cyborg::Help
Public Instance Methods
build()
click to toggle source
# File lib/cyborg/command/help.rb, line 42 def build "build [options] # Build assets" end
clean()
click to toggle source
# File lib/cyborg/command/help.rb, line 54 def clean "clean # Remove cache files" end
command_list()
click to toggle source
# File lib/cyborg/command/help.rb, line 20 def command_list %w(new build watch server help gem:build gem:install gem:release) end
commands(command)
click to toggle source
# File lib/cyborg/command/help.rb, line 24 def commands(command) case command when 'new', 'n'; new when 'build', 'b'; build when 'watch', 'w'; watch when 'server', 's'; server when 'clean', 'c'; clean when 'help', 'h'; help when 'gem:build'; gem_build when 'gem:install'; gem_install when 'gem:release'; gem_release end end
gem_build()
click to toggle source
# File lib/cyborg/command/help.rb, line 62 def gem_build "gem:build # Build assets for production and build gem" end
gem_install()
click to toggle source
# File lib/cyborg/command/help.rb, line 66 def gem_install "gem:install # Build assets for production, build, and install gem" end
gem_release()
click to toggle source
# File lib/cyborg/command/help.rb, line 70 def gem_release "gem:release # Build assets for production, build, and release gem to rubygems.org" end
help()
click to toggle source
# File lib/cyborg/command/help.rb, line 58 def help "help [command] # Show help for a specific command" end
new()
click to toggle source
# File lib/cyborg/command/help.rb, line 38 def new "new <project_name> # Create a new Cyborg project" end
server()
click to toggle source
# File lib/cyborg/command/help.rb, line 50 def server "server [options] # Serve documentation site" end
watch()
click to toggle source
# File lib/cyborg/command/help.rb, line 46 def watch "watch [options] # Build assets when files change" end