Files
ubicloud/cli-commands/vm.rb
Jeremy Evans 9fc326c965 Minor CLI help improvements
* Spaces around `|` between name and id.

* `Get program help` -> `Get command help`

* `private-subnet-id` -> `ps-id`
2025-03-13 09:20:15 -07:00

14 lines
390 B
Ruby

# frozen_string_literal: true
UbiCli.base("vm") do
banner "ubi vm command [...]"
post_options("ubi vm (location/vm-name | vm-id) [post-options] post-command [...]", key: :vm_ssh) do
on("-4", "--ip4", "use IPv4 address")
on("-6", "--ip6", "use IPv6 address")
on("-u", "--user user", "override username")
end
end
Unreloader.record_dependency(__FILE__, "cli-commands/vm")