From e257fc89c146e86e3639d086ad0c259aeb482c41 Mon Sep 17 00:00:00 2001 From: David Dollar Date: Mon, 16 Jan 2012 09:53:43 -0500 Subject: [PATCH] fix missing start desc --- lib/foreman/cli.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/foreman/cli.rb b/lib/foreman/cli.rb index 55f2d00..45f01aa 100644 --- a/lib/foreman/cli.rb +++ b/lib/foreman/cli.rb @@ -5,7 +5,9 @@ require "thor" require "yaml" class Foreman::CLI < Thor - + + desc "start", "Start the application" + class_option :procfile, :type => :string, :aliases => "-f", :desc => "Default: Procfile" class_option :app_root, :type => :string, :aliases => "-d", :desc => "Default: Procfile directory" @@ -20,7 +22,7 @@ class Foreman::CLI < Thor super end end - + def start check_procfile! engine.start @@ -60,7 +62,7 @@ class Foreman::CLI < Thor error "no processes defined" unless engine.procfile.entries.length > 0 display "valid procfile detected (#{engine.procfile.process_names.join(', ')})" end - + desc "run COMMAND", "Run a command using your application's environment" def run(*args) @@ -73,7 +75,7 @@ class Foreman::CLI < Thor error "command not found: #{args.first}" end end - + private ###################################################################### def check_procfile!