Proposal for changing --region/--ignore-checks/--append-rules argument format
See original GitHub issueThis proposal is following discussions in #166 and elsewhere.
Current behaviour for -r/-i/-a args is essentially argparse nargs='*'
, which means you can specify zero or more values for them. This is a bug, and it should be nargs='+'
, so you can specify one or more values.
Example of currently allowed commandlines:
# Implicit separation between exhaustive args and positional arg
cfn-lint -r us-west-1 us-west-2 -i E101 E102 -a E201 E202 -d template.yaml
# Explicit separation
cfn-lint -r us-west-1 us-west-2 -i E101 E102 -a E201 E202 -- template.yaml
# No positional arg
cfn-lint -r us-west-1 us-west-2 -i E101 E102 -a E201 E202 -t template.yaml
Proposed behaviour is to change -r/-i/-a to support single value (of comma-separated items) -r us-west-1,us-west-2
but allow multiple specification -r us-west-1 -r us-west-2
.
Example of proposed commandlines:
# Form 1
cfn-lint -r us-west-1,us-west-2
# Form 2
cfn-lint -r us-west-1 -r us-west-2
# Both together is valid
cfn-lint -r us-west-1,us-west-2 -r us-west-3
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Sample Proposal Argument - Excelsior OWL
Below, you'll see a sample proposal argumentative essay written using APA 7 edition formatting guidelines. Click the image below to open a PDF...
Read more >How to Write a Proposal and Get What You Want (Free ...
Bonus material: Simple Proposal Format Template + Checklist to help you get started ... Reiterate the main argument and proposal purpose.
Read more >How to Format A Proposal : The Do's and Dont's | RFPIO
1. DO use serif fonts for paper-based communication. While you may favor other font styles, consider switching to serif fonts which have been...
Read more >7.6: Proposal Arguments - Humanities LibreTexts
A proposal argument outlines a specific plan of action. It describes why the action is needed and what benefits it will bring.
Read more >Proposal Arguments - YouTube
Teaching students how to frame their arguments is one of the most ... elements of proposal arguments and includes example thesis statements.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I find use case #3 horrifying, but see no reason not to support it. I like the comma separated list better than spaces personally – it parses better to humans as well. 👍
Hey, are we good for this one at this point? I think we’ve got command line args mostly sorted at this point. I’m going to go ahead and close this issue if no one has any objections…