lib/populate_env/cli/heroku_options.rb in populate-env-0.1.0 vs lib/populate_env/cli/heroku_options.rb in populate-env-0.1.1
- old
+ new
@@ -55,9 +55,14 @@
description = "Prompt the user for missing environment variables (defaults to #{options.prompt_missing})"
parser.on("--[no-]prompt-missing", description) do |value|
options.prompt_missing = value
end
+ description = "Prefix variable declarations in output with export (defaults to #{options.skip_local_env})"
+ parser.on("--[no-]export", description) do |value|
+ options.export = value
+ end
+
parser.parse!(argv)
options
end
end