lib/sunzi/cli.rb in sunzi-1.3.0 vs lib/sunzi/cli.rb in sunzi-1.4.0
- old
+ new
@@ -25,12 +25,12 @@
desc 'setup [linode|digital_ocean]', 'Setup a new VM'
def setup(provider)
Sunzi::Cloud.new(self, provider).setup
end
- desc 'teardown [linode|digital_ocean] [name]', 'Teardown an existing VM'
- def teardown(provider, name)
- Sunzi::Cloud.new(self, provider).teardown(name)
+ desc 'teardown [linode|digital_ocean]', 'Teardown an existing VM'
+ def teardown(provider)
+ Sunzi::Cloud.new(self, provider).teardown
end
desc 'version', 'Show version'
def version
puts Gem.loaded_specs['sunzi'].version.to_s