package
1.1.3
Repository: https://github.com/jcoene/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddCmd adds a command to the cli.
InitCLIDefaults is used for testing.
Main is the entry point for the cli, with a single line calling it intended to be the body of an action package main `main` func elsewhere.
MakeDBClient creates a kv client for use in cli tools.
MaybeDecorateGRPCError catches grpc errors and provides a more helpful error message to the user.
MaybeShoutError calls log.Shout on errors, better surfacing problems to the user.
Run ...

# Variables

ErrorCode is the value to be used by main() as exit code in case of error.