Repository navigation
Move the CLIs to Nullean.Argh 0.27.1 - #4823
Merged
Merged
Conversation
[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]>
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4823/ |
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]>
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.
docs-builder,essc,docs-journeysand the libraries they share move fromNullean.Argh0.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 currentNullean.Arghpackages, 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 buildandrelease 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.jsonis 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
inthandlers return their value as the exit code, and none of the commands here is one: all 62inthandlers areTask<int>.Verify
All 18 test projects pass, and the native AOT publishes of
docs-builder,esscanddocs-journeyshave no warnings. The published binaries print help, run a hidden command, and report an unknown journey id with oneError:line and exit code 1.Why 0.27.1: 0.26.1 fixes the
Nullean.Make.Fsgaps 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