Skip to content

feat: implement alias handling in command registration and retrieval#9

Merged
JackLanger merged 1 commit into
release/v0.3from
feature/aliases_for_commands_must_be_respected
Jun 2, 2026
Merged

feat: implement alias handling in command registration and retrieval#9
JackLanger merged 1 commit into
release/v0.3from
feature/aliases_for_commands_must_be_respected

Conversation

@JackLanger

Copy link
Copy Markdown
Owner

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

@JackLanger JackLanger left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

nothing to add.

@JackLanger JackLanger left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

all good

@JackLanger JackLanger merged commit ae9b44c into release/v0.3 Jun 2, 2026
6 checks passed
@JackLanger JackLanger deleted the feature/aliases_for_commands_must_be_respected branch June 2, 2026 18:46
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
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.

1 participant