lib/pbmenv/cli.rb in pbmenv-0.1.5 vs lib/pbmenv/cli.rb in pbmenv-0.1.6

- old
+ new

@@ -8,18 +8,21 @@ when 'versions', 'list' Pbmenv.versions.each { |x| puts x } when 'install', 'i' sub_command_arg = argv[1] Pbmenv.install(sub_command_arg) + when 'use', 'u' + sub_command_arg = argv[1] + Pbmenv.use(sub_command_arg) when 'uninstall' sub_command_arg = argv[1] Pbmenv.uninstall(sub_command_arg) when '--version' puts Pbmenv::VERSION else puts <<~EOH Unknown command: - available commands: available_versions, versions, install, uninstall + available commands: available_versions, versions, install, use, uninstall EOH end end end end