Repository navigation
feat: standardize CLI option names - #13
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Standardizes CLI option names across subcommands to make the interface more consistent, and updates repository documentation/configuration to match.
Changes:
- Rename
--outto--output(and add-o) for generator commands. - Rename
--outto--prefixforinstall, and--rootto--prefixforverify. - Update README and Home Manager module to use the new flag names.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/cli.rs | Renames/standardizes clap argument names and updates call sites accordingly. |
| README.md | Updates CLI usage examples to use --output / --prefix. |
| nix/home_manager_module.nix | Updates generated-file invocations to use --output. |
Comments suppressed due to low confidence (2)
src/cli.rs:53
installpreviously accepted--out; renaming the option to--prefixwill break existing scripts. Consider adding aclapalias forout(or supporting both temporarily) to ease migration.
struct InstallArgs {
#[arg(long, default_value = ".")]
source: PathBuf,
#[arg(long)]
prefix: Option<PathBuf>,
src/cli.rs:83
verifypreviously used--root; renaming to--prefixis a breaking CLI flag change. Consider adding aclapalias forrootso existing invocations continue to work.
#[derive(Debug, clap::Args)]
struct VerifyArgs {
#[arg(long)]
prefix: Option<PathBuf>,
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
27
to
32
| #[arg(long, default_value = ".")] | ||
| source: PathBuf, | ||
|
|
||
| #[arg(long)] | ||
| out: PathBuf, | ||
| #[arg(short, long)] | ||
| output: PathBuf, | ||
| } |
furedea
added a commit
that referenced
this pull request
May 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.2.0](agent-harness-v0.1.0...agent-harness-v0.2.0) (2026-05-28) ### Features * add agent harness CLI ([#6](#6)) ([7f3c775](7f3c775)) * expose Nix package and Home Manager module ([#7](#7)) ([137a5da](137a5da)) * generate command policy files ([#14](#14)) ([9a3c7d0](9a3c7d0)) * generate hook configurations ([#17](#17)) ([b5ec4d8](b5ec4d8)) * generate protected path policy ([#18](#18)) ([725c04c](725c04c)) * refine agent harness command layout ([#12](#12)) ([ca57421](ca57421)) * render provider skills ([#20](#20)) ([e7e4a21](e7e4a21)) * **skills:** add ADR operation skill ([#30](#30)) ([3d89283](3d89283)) * **skills:** add git workflow skill ([#28](#28)) ([9764417](9764417)) * standardize CLI option names ([#13](#13)) ([110c284](110c284)) * synthesize provider configs ([#19](#19)) ([41dfb40](41dfb40)) * use file-level generated outputs ([#11](#11)) ([64cf683](64cf683)) * use packaged source by default ([#32](#32)) ([6c44f34](6c44f34)) ### Bug Fixes * avoid git in json syntax test ([#26](#26)) ([d64b992](d64b992)) * install generated codex guarded config ([#25](#25)) ([1647802](1647802)) * keep user tools visible in dev shell ([#23](#23)) ([9a572e6](9a572e6)) * protect installed harness paths only ([#27](#27)) ([9911632](9911632)) * **release:** use token for release PRs ([#38](#38)) ([31c010e](31c010e)) * validate skill patch descriptions ([#33](#33)) ([519a9ad](519a9ad)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Kaito Shigyo / 執行凱斗 <[email protected]>
2 tasks
furedea
added a commit
that referenced
this pull request
Nov 8, 2026
GitHub Actions の lint(actionlint,zizmor),dependency review,nix lintを,furedea/reusable-workflows v1.1.0 の共有 workflow から呼ぶように変えます.呼んだジョブは `all-green` の `needs` に入るので,失敗するとマージできません.CodeQL は workflow をやめ,GitHub の default setup に移します. | 項目 | 今 | 変更後 | | --- | --- | --- | | 共有 workflow の固定 | `@<sha> # main`(main が進むと zizmor の `ref-version-mismatch` で落ちる) | `@<sha> # v1.1.0` | | actionlint / zizmor | `gha_lint.yml`(workflow を変えた PR だけ) | `ci.yml` から `gha-lint.yml` を呼ぶ(全 PR,`all-green` に入る) | | dependency review | `dependency_review.yml`(`all-green` の外),または無し | `ci.yml` から `dependency-review.yml` を呼ぶ.非公開 repo と PR 以外では飛ばして成功扱い | | nix lint | `ci.yml` に直接書いたジョブ | `nix-lint.yml` を呼ぶ | | flake check | repo ごと(無い repo もある) | まだ呼ばない.IFD のせいで他の system を評価できないため.#196 で IFD をなくしてから足す | | CodeQL | `codeql.yml`(非公開 repo でも動いて失敗する) | `codeql.yml` を消す.public repo は default setup をオンにする(本人が設定) | | claude-review / codex-review | `# main` の古い SHA | `# v1.1.0` | - [ ] 呼んだ共有ジョブがすべて成功する - [ ] `all-green` が green になる <details><summary>出典</summary> - 計画: furedea/reusable-workflows#6,#13 - 呼び出し先: furedea/reusable-workflows v1.1.0(ca7c5f2).以後は release ごとに Renovate が更新する - CodeQL の default setup: https://docs.github.com/en/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.