Files
ubicloud/cli-commands/vm.rb
Jeremy Evans 9f4280f722 Use id instead of ubid in cli usage lines
ubid is an internal concept that users will not be familiar with.
When the cli lists/shows objects, it uses the ubid when displaying
the id, so users already understand that is the id, they never see
the actual uuid.  This should make the usage lines a bit more
understandable.
2025-02-21 15:27:03 -08:00

14 lines
387 B
Ruby

# frozen_string_literal: true
UbiCli.base("vm") do
options("ubi vm subcommand [...]")
post_options("ubi vm location/(vm-name|_vm-id) [options] subcommand [...]", 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")