Expand description
mz-deploy profile {list,set,current} — manage the project’s default profile.
Modeled on kubectl config (contexts). The default profile is recorded
per-project and per-developer, so team members can each pick their own
default without touching shared configuration. Resolution order for any
command: --profile flag, then MZ_DEPLOY_PROFILE, then the recorded
project default, then error.
Subcommands:
list— every profile defined inprofiles.toml, with the currently resolved profile marked(active).set— records<name>as the project default after validating that the profile exists inprofiles.toml.current— prints the resolved profile and where it came from (flag, env var, or project default), or reports that no profile has been selected.
Structs§
- Profile
Entry 🔒 - Profile
Listing 🔒 - Renderable result for
profile list.
Functions§
- current
- Print the resolved profile and the source it came from.
- list
- List every profile defined in
profiles.tomland mark the active one. - resolve_
active 🔒 - set
- Record
nameas the project default.