lib/engineyard-hudson/cli.rb in engineyard-hudson-0.1.0 vs lib/engineyard-hudson/cli.rb in engineyard-hudson-0.2.0

- old
+ new

@@ -1,6 +1,7 @@ require 'thor' +require 'engineyard-hudson/thor-ext/actions/directory' module Engineyard module Hudson class CLI < Thor @@ -15,12 +16,13 @@ def install(project_path) require 'engineyard-hudson/cli/install' Engineyard::Hudson::Install.start(ARGV[1..-1]) end - desc "server", "Setup a Hudson CI server on AppCloud." - def server - shell.say "Coming soon!", :green + desc "server PROJECT_PATH", "Setup a Hudson CI server on AppCloud." + def server(project_path) + require 'engineyard-hudson/cli/server' + Engineyard::Hudson::Server.start(ARGV[1..-1]) end desc "version", "show version information" def version shell.say Engineyard::Hudson::VERSION \ No newline at end of file