diff --git a/deploy/lib/Help.rb b/deploy/lib/Help.rb index 5f131680..a67eeaed 100644 --- a/deploy/lib/Help.rb +++ b/deploy/lib/Help.rb @@ -25,6 +25,7 @@ def self.usage credentials Configures user and password for the given environment info Returns settings for the given environment restart Restarts the given environment + validate Compare your ml-config against the given environment wipe Removes your application from the given environment Deployment/Data commands (with environment): diff --git a/deploy/lib/server_config.rb b/deploy/lib/server_config.rb index 418f85db..7639d43a 100644 --- a/deploy/lib/server_config.rb +++ b/deploy/lib/server_config.rb @@ -605,6 +605,8 @@ def validate_install result end + alias_method :validate, :validate_install + def deploy what = ARGV.shift raise HelpException.new("deploy", "Missing WHAT") unless what