feat(repo): add root command support for v1.3.0 - #23
Merged
Conversation
- support optional unnamed root commands and parameters - preserve named-command dispatch and existing application behavior - add rootCommand support to cli-fp-gen - add root command example and test coverage - update documentation, changelog, and release metadata
- finalise the changelog, PR checklist, and release notes - correct API, codegen, completion, and historical documentation - clarify raw password handling and generated help text
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.
Pull Request: Release v1.3.0 - Optional Root Commands
Target Release: v1.3.0
Release Date: July 28, 2026
Summary
This PR adds opt-in root-command execution so
cli-fpapplications can rundirectly as
app [options]without requiring a named command. It preservesthe existing
ICLIApplicationcontract and two-argument factory behavior.Closes #14.
Type of Change
Framework
CreateCLIApplicationoverload.
root-level option.
options authoritative.
and named commands.
Help and Completion
Generator
rootCommandparsing and serialization.Compatibility
Existing code remains valid:
Root behavior is enabled only through the new overload:
No migration is required for existing applications or schema-v1
clifp.jsonfiles.Examples and Release Metadata
RootCommandDemo.1.3.0.Documentation
custom-completion limitations.
snapshots.
Verification
Release Readiness
1.3.0.After merge, create the
v1.3.0tag and publish the prepared release notes.