summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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?