Versions in this module Expand all Collapse all v1 v1.6.1 Dec 6, 2021 Changes in this version + func AddGlobalConfigFiles(cfg *mybase.Config) + func AddGlobalOptions(cmd *mybase.Command) + func CloseCachedConnectionPools() + func FlushInstanceCache() + func NewInstance(driver, dsn string) (*tengo.Instance, error) + func ProcessSpecialGlobalOptions(cfg *mybase.Config) error + func PromptPassword() (string, error) + func RealConnectOptions(connectOpts string) (string, error) + func SplitConnectOptions(connectOpts string) (map[string]string, error) + func TerminalWidth(fd int) (int, error) + func WrapStringWithPadding(s string, lim int, padder string) string + type ShellOut struct + CombineOutput bool + Command string + Dir string + PrintableCommand string + Timeout time.Duration + func NewInterpolatedShellOut(command string, variables map[string]string) (*ShellOut, error) + func (s *ShellOut) Run() error + func (s *ShellOut) RunCapture() (string, error) + func (s *ShellOut) RunCaptureSplit() ([]string, error) + func (s *ShellOut) String() string