ProfileManager class
Service for managing saved profiles
Constructors
- ProfileManager(String profilesDir)
- ProfileManager.withDefaults()
-
Create a ProfileManager with the default profiles directory
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- profilesDir → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteProfile(
String name) → Future< void> - Delete a profile
-
listProfiles(
) → Future< List< ProfileInfo> > - List all saved profiles
-
loadProfile(
String name) → Future< GenConfig> - Load a profile by name
-
loadProjectConfig(
[String? workingDir]) → Future< GenConfig?> - Load project-local config from .claudio.yaml in working directory
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
profileExists(
String name) → Future< bool> - Check if a profile exists
-
saveProfile(
String name, GenConfig config) → Future< void> - Save a configuration as a named profile
-
saveProjectConfig(
GenConfig config, [String? workingDir]) → Future< void> - Save project-local config to .claudio.yaml
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited