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

Support stringArray cobra flag type #1998

Merged
merged 1 commit into from Apr 1, 2022

Conversation

carolynvs
Copy link
Member

@carolynvs carolynvs commented Apr 1, 2022

What does this change

Add support for mapping the cobra flag type stringArray. Specifically we should be using stringArray when we do not want cobra to treat flag values with a comma as a comma separated list.

What issue does it fix

This is prep-work for #1862 and #1999

Notes for the reviewer

N/A

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

Reviewer Checklist

  • Comment with /azp run test-porter-release if a magefile or build script was modified
  • Comment with /azp run porter-integration if it's a non-trivial PR

Add support for mapping the cobra flag type stringArray. This is
prep-work for getporter#1862

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs merged commit b5b2e43 into getporter:release/v1 Apr 1, 2022
Porter and Mixins automation moved this from In Progress to Done Apr 1, 2022
@carolynvs carolynvs deleted the stringArray branch April 1, 2022 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants