-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
command flags usage #716
Comments
Had similar issue and
accessing the bool var returns false not because it's actually false but because it doesn't exist in the context. |
I'm marking this as a bug since it's a bug from a user PoV! From the PoV of the CLI, it'd be nice if all flags were functionally "global" 👍 I would be very interested in reviewing any PRs for this! 🙏 |
I've been thinking about this more, and I think we want to achieve this
with a config option, and then make that option the default value in v3. I'm tracking V3 here #833 |
I'm going to bucket this as a part of potential V3 work, and close this specific issue - but I fully intend on following up on this problem! |
I found unexpected behavior when working with command related flags. Perhaps I misunderstand it. I wrote a minimal example.
and read
Why is s not set ? or what should the command line be ?
The text was updated successfully, but these errors were encountered: