Skip to content

Move the CLIs to Nullean.Argh 0.27.1 - #4823

Merged
Mpdreamz merged 2 commits into
mainfrom
chore/argh-0.25.0
Nov 11, 2026
Merged

Mpdreamz merged 2 commits into
mainfrom
chore/argh-0.25.0

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

docs-builder, essc, docs-journeys and the libraries they share move from Nullean.Argh 0.16.4 to 0.27.1, with no change in what the commands do.

Affects: CLI

Why

The build project is moving to Nullean.Make.Fs, which depends on the current Nullean.Argh packages, and central package versions pin the CLIs to 0.16.4. The move is its own pull request, so a problem with it is not mixed up with the build rewrite.

What

One attribute changes meaning

Since 0.25.0 [Hidden] hides a command from help only, and the schema marks it hidden only with [Hidden(Schema = true)]. Five CI-only commands (changelog github-comment, changelog github-decision, release serverless, release unified build and release unified bundle) say [Hidden(Schema = true)], because the CLI reference generator leaves out the commands the schema marks hidden. Without the change the reference would list them.

The regenerated schema

docs/cli-schema.json is regenerated. Its content is the same as before: parsed as JSON the old and the new file are equal. The text differs because Argh no longer escapes < and " in its JSON.

Nothing else needed to change

The solution compiled without a source change. Argh also makes synchronous int handlers return their value as the exit code, and none of the commands here is one: all 62 int handlers are Task<int>.

Verify

mise run build
mise run test
mise run schema && git diff --stat docs/cli-schema.json
dotnet publish src/tooling/docs-builder -c release

All 18 test projects pass, and the native AOT publishes of docs-builder, essc and docs-journeys have no warnings. The published binaries print help, run a hidden command, and report an unknown journey id with one Error: line and exit code 1.

Why 0.27.1: 0.26.1 fixes the Nullean.Make.Fs gaps the build rewrite needs, but 0.26.x and 0.27.0 never reached NuGet (their publish failed), so 0.27.1 is the first release with them.

🤖 Generated with Claude Code

[Hidden] now hides a command from help only; the five CI-only commands that the CLI reference must leave out say [Hidden(Schema = true)], so the schema keeps marking them hidden. The regenerated docs/cli-schema.json has the same content as before; Argh no longer escapes < and " in its JSON.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 11, 2026 17:05
@Mpdreamz
Mpdreamz requested a review from reakaleek November 11, 2026 17:05
@github-actions

Copy link
Copy Markdown
Contributor

0.26.1 and the releases after it fix the Nullean.Make.Fs gaps the build rewrite needs, and 0.27.1 is the first of them on NuGet. The CLIs behave as they did on 0.25.0: the tests pass, the schema is unchanged and the AOT publishes have no warnings.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz Mpdreamz changed the title Move the CLIs to Nullean.Argh 0.25.0 Move the CLIs to Nullean.Argh 0.27.1 Nov 11, 2026
@Mpdreamz
Mpdreamz enabled auto-merge (squash) November 11, 2026 18:14
@Mpdreamz
Mpdreamz merged commit 184e3d1 into main Nov 11, 2026
42 checks passed
@Mpdreamz
Mpdreamz deleted the chore/argh-0.25.0 branch November 11, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant