feat: implement alias handling in command registration and retrieval#9
Merged
JackLanger merged 1 commit intoJun 2, 2026
Merged
Conversation
8 tasks
JackLanger
added a commit
that referenced
this pull request
Jun 3, 2026
* refactor: rename CliCore to CMDKit and update related documentation * Feat/argument interpreter (#7) * feat: implement argument interpreter for command invocation and enhance CLI parsing * feat: add method to CliCoreBuilder for setting custom argument interpreter * chore: fixed format and style * refactor: replace CliCoreError with CMDKitError in ArgumentInterpreter and related implementations * test: add test for rejecting unresolvable subcommand path in argument interpreter * tests: imporved testcoverage * feat: implement alias handling in command registration and retrieval (#9) * Feature/async topo (#10) * build: bump version * feat: update project description and enhance dependencies for async support * feat: implement multi-worker command execution with CMDKitMaster and enhance error handling * feat: add documentation for custom HelpRenderer and ArgumentInterpreter extensions * feat: add async runtime follow-up tasks for preflight phase and worker lifecycle management * feat: refactor CommandStrategy execute method to use InvocationArgs * feat: update command handling to use references for registered commands * feat: refactor command and argument structures to support typed values and improve invocation handling * feat: enhance argument validation to handle empty values and improve error messaging * feat: change license from GPL-3.0 to Apache-2.0 and update README accordingly * Feature/trait based logging (#14) * feat: implement logging functionality with LogLevel and ConsoleLogSink * feat: update CommandStrategy to accept ExecutionContext in execute method - removed deconstructed arguments from function runners to provide a unified invocation across materialized commands * docs: update readme * chore: fixed clippy warnings
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.
closes #4
Why does this exist
Introduces error handling during registration of commands.
What's new
During command registration command collisions lead to a structured error so that construction fails. While this may introduce additional complexity in registration of commands it is required to maintain deterministic behaviour if multiple events with the same alias or command name are registered