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.
13 lines
364 B
Ruby
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")
|