summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/inspect.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/inspect.rb
parentc35b55cdf87d32382fc44a851166ec2cd15f5f4f (diff)
add command aliases for most commonly used commands.
Diffstat (limited to 'lib/leap_cli/commands/inspect.rb')
-rw-r--r--lib/leap_cli/commands/inspect.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/inspect.rb b/lib/leap_cli/commands/inspect.rb
index e8f5caf..20654fa 100644
--- a/lib/leap_cli/commands/inspect.rb
+++ b/lib/leap_cli/commands/inspect.rb
@@ -2,7 +2,7 @@ module LeapCli; module Commands
desc 'Prints details about a file. Alternately, the argument FILE can be the name of a node, service or tag.'
arg_name 'FILE'
- command :inspect do |c|
+ command [:inspect, :i] do |c|
c.switch 'base', :desc => 'Inspect the FILE from the provider_base (i.e. without local inheritance).', :negatable => false
c.action do |global_options,options,args|
object = args.first