summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/env.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-30 13:31:27 -0800
committerelijah <elijah@riseup.net>2014-11-30 13:31:27 -0800
commit6d0f242eacdaec645c48c3db3e78ee3da8fff03c (patch)
tree467b859d37fccc4b886788452ef48b983053fd4c /lib/leap_cli/commands/env.rb
parentc35b55cdf87d32382fc44a851166ec2cd15f5f4f (diff)
add command aliases for most commonly used commands.
Diffstat (limited to 'lib/leap_cli/commands/env.rb')
-rw-r--r--lib/leap_cli/commands/env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/env.rb b/lib/leap_cli/commands/env.rb
index 75f7100..80be217 100644
--- a/lib/leap_cli/commands/env.rb
+++ b/lib/leap_cli/commands/env.rb
@@ -6,7 +6,7 @@ module LeapCli
"A node in one environment will never interact with a node from another environment. "+
"Environment pinning works by modifying your ~/.leaprc file and is dependent on the "+
"absolute file path of your provider directory (pins don't apply if you move the directory)"
- command :env do |c|
+ command [:env, :e] do |c|
c.desc "List the available environments. The pinned environment, if any, will be marked with '*'. Will also set the pin if run with an environment argument."
c.arg_name 'ENVIRONMENT', :optional => true
c.command :ls do |ls|