Files
ubicloud/cli-commands/pg.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

9 lines
274 B
Ruby

# frozen_string_literal: true
UbiCli.base("pg") do
post_options("ubi pg location-name/(vm-name|_vm-ubid) [options] subcommand [...]", key: :pg_psql) do
on("-d", "--dbname=name", "override database name")
on("-U", "--username=name", "override username")
end
end