Skip to content

Add Dry::CLI.accepted_kwargs public method - #181

Merged
timriley merged 1 commit into
mainfrom
add-accepted-kwargs-public-api
Oct 29, 2026
Merged

timriley merged 1 commit into
mainfrom
add-accepted-kwargs-public-api

Conversation

@timriley

Copy link
Copy Markdown
Member

This makes public the API that we’re using in Hanami CLI to wrap command #call methods and ensure we pass along only their accepted kwargs.

As part of this, be more precise when we talk about “args” (or “kwargs”) vs “params”. Args are the actual values we pass when calling a method; params are the declared parameters on the method itself, nothing more.

This makes public the API that we’re using in Hanami CLI to wrap command `#call` methods and ensure we pass along only their accepted kwargs.

As part of this, be more precise when we talk about “args” (or “kwargs”) vs “params”. Args are the explicit values we pass to a method; params are the declarad parameters on the method itself, nothing more.
@timriley
timriley merged commit 6ae6c13 into main Oct 29, 2026
7 checks passed
@timriley
timriley deleted the add-accepted-kwargs-public-api branch October 29, 2026 23:46
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