Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FlagJson bool
View Source
var PostgresListCmd = &cobra.Command{ Use: "list", Short: "list Postgres databases", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { if FlagJson { postgres.ListJSON( postgrescmd.PostgresCmdFlagHost, postgrescmd.PostgresCmdFlagPort, postgrescmd.PostgresCmdFlagUser, postgrescmd.PostgresCmdFlagPassword, ) } else { postgres.ListText( postgrescmd.PostgresCmdFlagHost, postgrescmd.PostgresCmdFlagPort, postgrescmd.PostgresCmdFlagUser, postgrescmd.PostgresCmdFlagPassword, ) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.