Skip to content

feat: standardize CLI option names - #13

Merged
furedea merged 1 commit into
mainfrom
feat/standardize-cli-option-names
May 18, 2026
Merged

furedea merged 1 commit into
mainfrom
feat/standardize-cli-option-names

Conversation

@furedea

@furedea furedea commented May 18, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 18, 2026 04:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Standardizes CLI option names across subcommands to make the interface more consistent, and updates repository documentation/configuration to match.

Changes:

  • Rename --out to --output (and add -o) for generator commands.
  • Rename --out to --prefix for install, and --root to --prefix for verify.
  • 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

  • install previously accepted --out; renaming the option to --prefix will break existing scripts. Consider adding a clap alias for out (or supporting both temporarily) to ease migration.
struct InstallArgs {
    #[arg(long, default_value = ".")]
    source: PathBuf,

    #[arg(long)]
    prefix: Option<PathBuf>,

src/cli.rs:83

  • verify previously used --root; renaming to --prefix is a breaking CLI flag change. Consider adding a clap alias for root so 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 thread src/cli.rs
Comment on lines 27 to 32
#[arg(long, default_value = ".")]
source: PathBuf,

#[arg(long)]
out: PathBuf,
#[arg(short, long)]
output: PathBuf,
}
@furedea
furedea merged commit 110c284 into main May 18, 2026
13 checks passed
@furedea
furedea deleted the feat/standardize-cli-option-names branch May 18, 2026 04:51
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]>
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]>
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.

2 participants