diff --git a/README.md b/README.md index 210a962..3975798 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Implemented commands: - `cd [CASTLE]` - `open [CASTLE]` - `generate PATH` -- `rc [CASTLE]` +- `rc [--force] [CASTLE]` - `version` ### rc behavior @@ -50,6 +50,7 @@ Implemented commands: - Runs executable scripts in `/.homesick.d/` in lexicographic order. - Executes scripts with the castle root as the current working directory. - Forwards script stdout/stderr to command output. +- If `/.homesickrc` exists, `--force` is required before legacy Ruby compatibility hooks are run. - If `/.homesickrc` exists and `/.homesick.d/parity.rb` does not, generates `parity.rb` before execution. - Never overwrites an existing `parity.rb` wrapper. @@ -75,7 +76,7 @@ Command parity: Historical flag/behavior parity: - [x] `pull --all` -- [ ] `rc --force` +- [x] `rc --force` - [ ] Evaluate whether global `pretend`/`quiet` modes should be restored ## Behavior Suite diff --git a/changelog.md b/changelog.md index d82915e..6a76776 100644 --- a/changelog.md +++ b/changelog.md @@ -18,6 +18,7 @@ A `### Breaking` section is used in addition to Keep a Changelog's standard sect - `exec` command: runs a shell command inside the target castle root directory. - `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. - 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`.