lib/catfish/cli.rb in catfish-0.0.2 vs lib/catfish/cli.rb in catfish-0.0.3

- old
+ new

@@ -29,12 +29,16 @@ desc 'init [OPTIONS]', 'Generates a templated catfish repo in the current working directory' long_desc <<-D TODO: Long description D method_option 'provisioners', type: :array, banner: 'A list of vagrant provisiners to use' + method_option 'communicator', type: :string, banner: 'The communicator. ssh (default) or winrm' + method_option 'winrm-username', type: :string, banner: 'Username for winrm. Used with --communicator=winrm' + method_option 'winrm-password', type: :string, banner: 'Password for winrm. Used with --communicator=winrm' method_option 'shell-paths', type: :array, banner: 'A list of paths to use if shell provisioning is selected' method_option 'ssh-username', type: :string, banner: 'SSH username' method_option 'ssh-private-key-path', type: :string, banner: 'Path to SSH private key' + method_option 'servers', type: :array, banner: 'Initial list of servers to include in Catfishfile' def init require 'catfish/cli/init' Init.new(options.dup, self).run end