Reference
This page documents exact behavior. Open the reference overview
Profiles Reference¶
Reference
This page covers the exact profile selection and storage rules. Use it when you already know what profiles are and need the precise mechanics.
Selection order¶
The active profile is resolved in this order:
--profileENVCTL_PROFILE- config
default_profile local
Storage rules¶
values.envis the canonical file for the implicitlocalprofile- explicit profiles are stored as
profiles/<name>.env localdoes not useprofiles/local.env- explicit profiles must exist before use
Commands¶
list¶
Shows the available profiles for the current project.
create¶
Creates a new explicit profile.
copy¶
Copies one profile into another.
remove¶
Removes one explicit profile.
path¶
Shows the physical path for a profile file.
Rules¶
Profiles follow a few important rules:
- profiles do not change the contract
- profiles do not inherit from each other
- profiles are local only
add,set,unset, andfilltarget the active profile onlyremoveremoves the key from the contract and all persisted profiles