ubicloud/cli-commands/vm/post
Jeremy Evans 78f45d392f Improve error output for invalid CLI option arguments
For option arguments that must be members of an array, do the
check in the option parsing by providing an array of allowed
option arguments (e.g. vm create -s bad).

Emit better errors for options arguments that should be integers
(e.g. fw add-rule -s/-e), and for regular arguments that should
be integers (e.g. lb create src-port/dst-port).

Include help output in additional cases:

* invalid id formats with slashes
* invalid/duplicate/missing fields used when multiple fields
  separated by a comma is allowed
* invalid object references when using post subcommands
* invalid location for list -l option
2025-07-02 05:02:05 +09:00
..
create.rb Improve error output for invalid CLI option arguments 2025-07-02 05:02:05 +09:00
destroy.rb Fix capitalization in destroy confirm/error messages 2025-02-19 10:25:42 -08:00
restart.rb Reimplement CLI processing using the Ruby SDK 2025-03-28 16:25:47 -07:00
scp.rb Remove custom invalid args messages from CLI 2025-03-19 14:08:49 -07:00
sftp.rb Minor CLI help improvements 2025-03-13 09:20:15 -07:00
show.rb Improve error output for invalid CLI option arguments 2025-07-02 05:02:05 +09:00
ssh.rb Minor CLI help improvements 2025-03-13 09:20:15 -07:00