lib/gogetit/cli.rb in gogetit-0.6.0 vs lib/gogetit/cli.rb in gogetit-0.7.0
- old
+ new
@@ -17,9 +17,11 @@
end
desc 'create NAME', 'Create either a container or KVM domain.'
method_option :provider, :aliases => '-p', :type => :string, \
:default => 'lxd', :desc => 'A provider such as lxd and libvirt'
+ method_option :alias, :aliases => '-a', :type => :string, \
+ :default => '', :desc => 'An alias name for a lxd image'
method_option :chef, :aliases => '-c', :type => :boolean, \
:default => false, :desc => 'Chef awareness'
method_option :vlans, :aliases => '-v', :type => :array, \
:desc => 'A list of VLAN IDs to connect to'
method_option :ipaddresses, :aliases => '-i', :type => :array, \