Files
ubicloud/cli-commands/vm.rb
Jeremy Evans cbf2d95cbb Revert the backout of the CLI support
This reverts commit b741fe9005.

This was backed out as problems started occuring shortly after
a large CLI pull request was merged.  However, log analysis
shows that the CLI was unrelated to the problems.
2025-02-11 16:09:46 -08:00

10 lines
297 B
Ruby

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