Skip to content

feat(cli): add default value for --flake option#326

Merged
jfroche merged 2 commits intomainfrom
default-flake-path
Feb 3, 2026
Merged

feat(cli): add default value for --flake option#326
jfroche merged 2 commits intomainfrom
default-flake-path

Conversation

@jfroche
Copy link
Member

@jfroche jfroche commented Jan 21, 2026

Default to ~/.config/system-manager when --flake is not specified, matching the default path used by the init command.

fixes #304

- Add allow(dead_code) for CreatedEtcFile (intended for future use)
- Inline format args in bail! macro call
Default to ~/.config/system-manager when --flake is not specified,
matching the default path used by the init command. Extract path
to DEFAULT_FLAKE_PATH constant for consistency.

fixes #304
Copy link
Member

@eureka-cpu eureka-cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested but LGTM

@jfroche jfroche merged commit 8b6e629 into main Feb 3, 2026
3 checks passed
@jfroche jfroche deleted the default-flake-path branch February 3, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default --flake to ~/.config/system-manager

2 participants