diff options
author | elijah <elijah@riseup.net> | 2014-11-30 13:31:27 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-11-30 13:31:27 -0800 |
commit | 6d0f242eacdaec645c48c3db3e78ee3da8fff03c (patch) | |
tree | 467b859d37fccc4b886788452ef48b983053fd4c /lib/leap_cli/commands/list.rb | |
parent | c35b55cdf87d32382fc44a851166ec2cd15f5f4f (diff) |
add command aliases for most commonly used commands.
Diffstat (limited to 'lib/leap_cli/commands/list.rb')
-rw-r--r-- | lib/leap_cli/commands/list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/list.rb b/lib/leap_cli/commands/list.rb index b8d7739..0b78a2d 100644 --- a/lib/leap_cli/commands/list.rb +++ b/lib/leap_cli/commands/list.rb @@ -11,7 +11,7 @@ module LeapCli; module Commands "`leap list openvpn +local` matches all nodes with service \"openvpn\" AND tag \"local\"" arg_name 'FILTER', :optional => true - command :list do |c| + command [:list,:ls] do |c| c.flag 'print', :desc => 'What attributes to print (optional)' c.switch 'disabled', :desc => 'Include disabled nodes in the list.', :negatable => false c.action do |global_options,options,args| |