package
0.209.0
Repository: https://github.com/planetscale/cli.git
Documentation: pkg.go.dev

# Functions

CheckAuthentication checks whether the user is authenticated and returns a actionable error message.
No description provided by the author
ErrCode returns the code from a *planetscale.Error, if available.
HandleError checks whether the given err is an *planetscale.Error and returns a descriptive, human readable error if the error code matches a certain planetscale Error types.
HasHomebrew check whether the user has installed brew.
IsUnderHomebrew checks whether the given binary is under the homebrew path.
MySQLClientPath checks whether the 'mysql' client exists and returns the path to the binary.
NewZapLogger returns a logger to be used with the sql-proxy.
OpenBrowser opens a web browser at the specified url.
No description provided by the author
required arguments are not available.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Error can be used by a command to change the exit status of the CLI.
Helper is passed to every single command and is used by individual subcommands.

# Type aliases

No description provided by the author