octopus config profile use
octopus config profile use
Switch the active configuration profile
Synopsis
Set active_profile in the config file. Fails if the profile does not exist.
For a single command, pass --profile instead; it overrides the active profile without changing the file.
octopus config profile use <name> [flags]
Examples
octopus config profile use staging
Options
-h, --help help for use
Options inherited from parent commands
-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output
SEE ALSO
- octopus config profile - Manage configuration profiles