save_profile()
Save a named profile to the profiles directory.
Usage
save_profile(
profile,
*,
profiles_dir=None,
)Parameters
profile: ProfileConfig-
The profile to save.
profiles_dir: Path | None = None- Override the profiles directory (useful for testing).
Returns
Path- The file path where the profile was saved.