Skip to content

Add args support for deno extensions#507

Merged
cd-work merged 6 commits intomainfrom
args
Jul 1, 2022
Merged

Add args support for deno extensions#507
cd-work merged 6 commits intomainfrom
args

Conversation

@cd-work
Copy link
Contributor

@cd-work cd-work commented Jun 29, 2022

This makes it possible for extensions to read all parameters passed
after their subcommand using Deno.args.

Closes #416.

@cd-work
Copy link
Contributor Author

cd-work commented Jun 29, 2022

Hoping that we can maybe get clap-rs/clap#3885 pushed through relatively quickly. At the very least I'd like some feedback before committing to this approach.

@cd-work cd-work marked this pull request as ready for review June 30, 2022 15:24
@cd-work cd-work requested a review from a team as a code owner June 30, 2022 15:24
@cd-work cd-work requested a review from maxrake June 30, 2022 15:24
kylewillmon
kylewillmon previously approved these changes Jun 30, 2022
cd-work added 6 commits July 1, 2022 16:27
This makes it possible for extensions to read all parameters passed
after their subcommand using `Deno.args`.

Closes #416.
@cd-work cd-work merged commit 85312c7 into main Jul 1, 2022
@cd-work cd-work deleted the args branch July 1, 2022 14:58
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.

Extensions: Allow reading CLI arguments from extensions

2 participants