-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Added upload --upload-field key=value
flag to set upload fields value
#2348
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2348 +/- ##
==========================================
- Coverage 62.91% 62.82% -0.10%
==========================================
Files 203 204 +1
Lines 19249 19307 +58
==========================================
+ Hits 12110 12129 +19
- Misses 6080 6118 +38
- Partials 1059 1060 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
00b2a3a
to
47a858e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please integrate this new feature in the docs
e3ce8b5
to
16d2531
Compare
I've added a KeyValue type by implementing the
The other benefit is that the flag syntax check is performed much earlier in the parsing process:
and finally, we get directly a |
16d2531
to
088850c
Compare
upload --upload-field key=value
flag to set upload fields value
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
Adds a
--upload-field
flag to theupload
command to set upload fields directly from the command line.What is the current behavior?
The upload fields must be entered interactively via terminal.
What is the new behavior?
The upload fields may be passed via
--upload-field field=value
flag.Does this PR introduce a breaking change, and is titled accordingly?
No
Other information
Fix #2270