modal config
Manage client configuration for the current profile.
Refer to https://modal.com/docs/reference/modal.config for a full explanation of what these options mean, and how to set them.
Usage:
modal config [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
set-environment
: Set the default Modal environment for the active profileshow
: Show configuration values for the current profile (debug command).
modal config set-environment
Set the default Modal environment for the active profile
The default environment of a profile is used when no —env flag is passed to modal run
, modal deploy
etc.
If no default environment is set, and there exists multiple environments in a workspace, an error will be raised when running a command that requires an environment.
Usage:
modal config set-environment [OPTIONS] ENVIRONMENT_NAME
Arguments:
ENVIRONMENT_NAME
: [required]
Options:
--help
: Show this message and exit.
modal config show
Show configuration values for the current profile (debug command).
Usage:
modal config show [OPTIONS]
Options:
--help
: Show this message and exit.