Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[recovery] Added option to forward opt #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented May 3, 2024

https://web.archive.org/web/20201110211130/https://github.com/substack/subarg/pull/6

filed by @tornqvist

I'm using subarg as a way of nesting commands for one and the same program and as so only running the top level context through minimist with options leaves all subargs without their aliases, in my case.

This PR adds the option forward which, if set to something truthy, will keep forwarding the minimist opts to every nested context.

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.

None yet

2 participants