Mass Config Use
mass config use​
Set the active profile
Synopsis​
Set the Active Profile
Makes a profile the one every mass command uses. The choice is written to the current_profile key in the config file, so it persists across shells and sessions.
MASSDRIVER_PROFILE and the --profile flag both take precedence over this setting.
Usage​
shell
mass config use <profile>
Examples​
shell
# Switch to the staging profile
mass config use staging
# Run a single command against a different profile
mass project list --profile production
mass config use [profile] [flags]
Examples​
mass config use staging
Options​
-h, --help help for use
Options inherited from parent commands​
--profile string Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)
SEE ALSO​
- mass config - Manage CLI configuration profiles