package
2.6.2+incompatible
Repository: https://github.com/10gen/realm-cli.git
Documentation: pkg.go.dev
# Functions
AppFlag is the '--app' flag.
AppFlagWithContext is the '--app' flag with the provided context set into a standard description.
AppFlagWithDescription is the '--app' flag with the provided description.
CommandDisplay returns the command display with the provided flags.
ConfigVersionFlag is the '--config-version' flag with the provided description.
NewCommandFactory creates a new command factory.
ProductFlag is the '--product' flag.
ProjectFlag is the '--project' flag.
ResolveApp will use the provided Realm client to resolve the app specified by the options.
ResolveGroupID will use the provided MongoDB Cloud Atlas client to resolve the user's group id.
# Constants
ProjectFlagName is the '--project' flag name.
# Variables
set of known app input errors.
Name represents the CLI name; used for invoking the CLI commands.
value will be injected at build-time.
value will be injected at build-time.
# Structs
AppOptions are the parameters for resolving app.
Clients are the CLI clients.
CommandDefinition is a command's definition that the CommandFactory can build a *cobra.Command from.
CommandFactory is a command factory.
CommandMeta is the command metadata.
ErrAppNotFound is an app not found error.
ProjectInputs are the project/app inputs for a command.
# Interfaces
Command is an executable CLI command This interface maps 1:1 to Cobra's Command.RunE phase
Optionally, a Command may implement any of the other interfaces found below.
CommandFlags provides access for commands to register local flags.
CommandInputs returns the command inputs.
InputResolver provides access for command inputs to resolve missing data.
VersionManifestClient is a version manifest client.