-
Notifications
You must be signed in to change notification settings - Fork 0
Add partio configure command for post-setup configuration changes #157
Copy link
Copy link
Open
Labels
Description
Summary
Once a user has run partio enable, changing their agent or strategy requires partio disable && partio enable. There is no dedicated command for updating configuration after initial setup. This creates unnecessary friction for users who want to change settings without reinstalling hooks.
Proposed Change
Add a partio configure command with flags to update individual settings in .partio/settings.json:
partio configure --agent <agent-name>
partio configure --strategy <strategy-name>
partio configure # prints current configInspired by entireio/cli#851 (entire configure to manage agents).
Acceptance Criteria
partio configurecommand exists and is registered in the root commandpartio configure --agent <name>updates theagentfield in.partio/settings.jsonpartio configure --strategy <name>updates thestrategyfield in.partio/settings.json- Running
partio configurewithout flags prints the current configuration - The command returns a clear error if run outside a git repository or before
partio enable - Existing
enableanddisablecommands are unchanged - Table-driven tests cover flag parsing and settings file update
Program
See .minions/programs/add-partio-configure-command.md for implementation details.
Reactions are currently unavailable