GlobalOption<V>
enum
The global configuration options for the Serverpod Cloud CLI.
Values
-
quiet
→ const GlobalOption<
bool> -
const GlobalOption(BetterCommandRunnerFlags.quietOption)
-
verbose
→ const GlobalOption<
bool> -
const GlobalOption(BetterCommandRunnerFlags.verboseOption)
-
analytics
→ const GlobalOption<
bool> -
const GlobalOption(BetterCommandRunnerFlags.analyticsOption)
-
version
→ const GlobalOption<
bool> -
const GlobalOption(FlagOption(argName: 'version', helpText: VersionCommand.usageDescription, negatable: false, defaultsTo: false))
-
scloudDir
→ const GlobalOption<
Directory> -
const GlobalOption(DirOption(argName: 'scloud-dir', envName: 'SERVERPOD_CLOUD_DIR', helpText: 'Override the directory path where Serverpod Cloud cache/authentication files are …
-
projectDir
→ const GlobalOption<
Directory> -
const GlobalOption(DirOption(argName: 'project-dir', argAbbrev: 'd', envName: 'SERVERPOD_CLOUD_PROJECT_DIR', helpText: 'The path to the Serverpod Cloud project server direc…
-
projectConfigFile
→ const GlobalOption<
File> -
const GlobalOption(FileOption(argName: 'project-config-file', envName: 'SERVERPOD_CLOUD_PROJECT_CONFIG_FILE', fromCustom: _projectConfigFileFinder, helpText: 'The path to the Serve…
-
projectConfigContent
→ const GlobalOption<
String> -
const GlobalOption(StringOption(argName: 'project-config-content', envName: 'SERVERPOD_CLOUD_PROJECT_CONFIG_CONTENT', helpText: 'Override the scloud project configuration with a YA…
-
connectionTimeout
→ const GlobalOption<
Duration> -
const GlobalOption(DurationOption(argName: 'connection-timeout', envName: 'SERVERPOD_CLOUD_CONNECTION_TIMEOUT', defaultsTo: Duration(seconds: 60), helpText: 'The timeout for the co…
-
apiServer
→ const GlobalOption<
String> -
const GlobalOption(StringOption(argName: 'api-url', envName: 'SERVERPOD_CLOUD_API_SERVER_URL', helpText: 'The URL to the Serverpod cloud api server.', hide: true, defaultsTo: H…
-
consoleServer
→ const GlobalOption<
String> -
const GlobalOption(StringOption(argName: 'console-url', envName: 'SERVERPOD_CLOUD_CONSOLE_SERVER_URL', helpText: 'The URL to the Serverpod cloud console server.', hide: true, d…
-
skipConfirmation
→ const GlobalOption<
bool> -
const GlobalOption(FlagOption(argName: 'skip-confirmation', helpText: 'Should be used in CI environment to bypass confirmation prompts.', hide: true, defaultsTo: false))
-
authToken
→ const GlobalOption<
String> -
const GlobalOption(StringOption(argName: 'auth-token', envName: 'SERVERPOD_CLOUD_AUTH_TOKEN', helpText: 'The authentication token to use for the Serverpod Cloud API.', hide: tr…
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter -
option
→ ConfigOptionBase<
V> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
GlobalOption> - A constant List of the values in this enum, in order of their declaration.