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

13 lines
364 B
Ruby

# frozen_string_literal: true
UbiCli.base("pg") do
options("ubi pg subcommand [...]")
post_options("ubi pg location/(pg-name|_pg-id) [options] subcommand [...]", key: :pg_psql) do
on("-d", "--dbname=name", "override database name")
on("-U", "--username=name", "override username")
end
end
Unreloader.record_dependency(__FILE__, "cli-commands/pg")