Documentation ¶
Index ¶
- Constants
- Variables
- func GetDbConfigOptionalPassword(projectRef string) pgconn.Config
- func LoadProjectRef(fsys afero.Fs) error
- func NewDbConfigWithPassword(projectRef string) pgconn.Config
- func ParseDatabaseConfig(flagSet *pflag.FlagSet, fsys afero.Fs) error
- func ParseProjectRef(ctx context.Context, fsys afero.Fs) error
- func PromptPassword(stdin *os.File) string
- func PromptProjectRef(ctx context.Context, title string, opts ...tea.ProgramOption) error
Constants ¶
View Source
const PASSWORD_LENGTH = 16
Variables ¶
View Source
var DbConfig pgconn.Config
View Source
var ProjectRef string
Functions ¶
func LoadProjectRef ¶
func NewDbConfigWithPassword ¶
func PromptPassword ¶
func PromptProjectRef ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.