lib/u3d/commands_generator.rb in u3d-1.0.8 vs lib/u3d/commands_generator.rb in u3d-1.0.9
- old
+ new
@@ -146,9 +146,19 @@
options.default download: true
Commands.install(args: args, options: convert_options(options))
end
end
+ command :uninstall do |c|
+ c.syntax = 'u3d uninstall [<version>]'
+ c.description = "Uninstall the specified Unity3d version."
+ c.option '-k', '--keychain', 'Gain privileges right through the keychain. [OSX only]'
+ c.example 'Uninstall Unity version 5.2.1f1', 'u3d uninstall 5.1.2f1'
+ c.action do |args, options|
+ Commands.uninstall(args: args, options: convert_options(options))
+ end
+ end
+
command :dependencies do |c|
c.syntax = 'u3d dependencies'
c.summary = 'Installs Unity dependencies. [Linux only]'
c.description = %(
#{c.summary}