summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-21 13:59:57 -0700
committerelijah <elijah@riseup.net>2012-10-21 13:59:57 -0700
commit338b3d97b8cb0f5fca0339514ffdfaf30cc65498 (patch)
tree32aa3dc7a6d3d9755983e8f343b836aaffa1defb
parentf63f2c63bd28fd3836d1e0edefe96b1fa76172f2 (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?