diff --git a/README.md b/README.md index 3975798..7106a4a 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,12 @@ Implemented commands: - `rc [--force] [CASTLE]` - `version` +Global options: + +- `--pretend` simulates command execution without running shell/git commands. +- `--dry-run` is an alias for `--pretend`. +- `--quiet` suppresses status output. + ### rc behavior - Runs executable scripts in `/.homesick.d/` in lexicographic order. @@ -77,7 +83,7 @@ Historical flag/behavior parity: - [x] `pull --all` - [x] `rc --force` -- [ ] Evaluate whether global `pretend`/`quiet` modes should be restored +- [x] Global `pretend`/`quiet` modes (`--pretend`, `--dry-run`, `--quiet`) ## Behavior Suite diff --git a/changelog.md b/changelog.md index 6a76776..84fcd77 100644 --- a/changelog.md +++ b/changelog.md @@ -19,6 +19,7 @@ A `### Breaking` section is used in addition to Keep a Changelog's standard sect - `exec_all` command: runs a shell command inside each cloned castle root directory in sorted order. - `pull --all` support: pulls updates for every cloned castle in sorted order. - `rc --force` support: legacy `.homesickrc` compatibility hooks now require explicit force mode before execution. +- Global command flags restored: `--pretend` (with `--dry-run` alias) and `--quiet`. - Native Go implementations for `clone`, `link`, `unlink`, `track`, `pull`, `push`, `commit`, `destroy`, `cd`, `open`, and `generate`. - Containerized behavior test suite for command parity validation. - Dedicated test suites for `list`, `show_path`, `status`, `diff`, and `version`.