class CommandGenerator
Public Instance Methods
bundle_install()
click to toggle source
# File lib/grape_cli/command_generator.rb, line 2 def bundle_install 'bundle install' end
run_console()
click to toggle source
# File lib/grape_cli/command_generator.rb, line 10 def run_console 'racksh' end
run_server(args)
click to toggle source
# File lib/grape_cli/command_generator.rb, line 6 def run_server(args) "rackup #{args}" end
run_tests()
click to toggle source
# File lib/grape_cli/command_generator.rb, line 14 def run_tests 'bundle exec rake' end