From 47008fb9214d62b67ea0968e1ee77982da433626 Mon Sep 17 00:00:00 2001 From: Tom Ward Date: Fri, 16 Sep 2011 08:31:29 +0100 Subject: [PATCH] Allow export using a specified environment file, using the --env or -e option --- lib/foreman/cli.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/foreman/cli.rb b/lib/foreman/cli.rb index cea8e7b..9b89c23 100644 --- a/lib/foreman/cli.rb +++ b/lib/foreman/cli.rb @@ -28,6 +28,7 @@ class Foreman::CLI < Thor method_option :app, :type => :string, :aliases => "-a" method_option :log, :type => :string, :aliases => "-l" + method_option :env, :type => :string, :aliases => "-e", :desc => "Specify an environment file to load, defaults to .env" method_option :port, :type => :numeric, :aliases => "-p" method_option :user, :type => :string, :aliases => "-u" method_option :template, :type => :string, :aliases => "-t"