diff options
author | elijah <elijah@riseup.net> | 2012-10-21 13:59:57 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-10-21 13:59:57 -0700 |
commit | 338b3d97b8cb0f5fca0339514ffdfaf30cc65498 (patch) | |
tree | 32aa3dc7a6d3d9755983e8f343b836aaffa1defb | |
parent | f63f2c63bd28fd3836d1e0edefe96b1fa76172f2 (diff) |
replace command 'init' with 'new-provider'
-rw-r--r-- | lib/leap_cli/commands/project.rb (renamed from lib/leap_cli/commands/init.rb) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/init.rb b/lib/leap_cli/commands/project.rb index de43a45..8ec9625 100644 --- a/lib/leap_cli/commands/init.rb +++ b/lib/leap_cli/commands/project.rb @@ -1,9 +1,10 @@ module LeapCli module Commands - desc 'Creates a new provider configuration directory.' + + desc 'Creates a new provider directory.' arg_name '<directory>' skips_pre - command :init do |c| + command :'new-provider' do |c| c.action do |global_options,options,args| directory = args.first unless directory && directory.any? |