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

feat: added option to specify example flag value in docopts #1091

Merged
merged 2 commits into from
Jun 4, 2024
Merged

feat: added option to specify example flag value in docopts #1091

merged 2 commits into from
Jun 4, 2024

Conversation

kemley76
Copy link
Contributor

Feature add for #1088

  • Made changes to the docopts formatter
  • Wrote a test for the docopts changes

There is the option to include multiple example flags such that the usage string can format to something like
mycli -i <input-json>... <input-xml>...

Copy link

Thanks for the contribution! Before we can merge this, we need @kemley76 to sign the Salesforce Inc. Contributor License Agreement.

@mdonnalley mdonnalley added enhancement New feature or request and removed needs response labels Jun 4, 2024
Copy link

git2gus bot commented Jun 4, 2024

This issue has been linked to a new work item: W-15931094

@mdonnalley mdonnalley changed the base branch from main to mdonnalley/1091 June 4, 2024 14:52
@mdonnalley mdonnalley merged commit 2cb180a into oclif:mdonnalley/1091 Jun 4, 2024
20 of 78 checks passed
@mdonnalley
Copy link
Contributor

Thanks @kemley76 for the contribution 🏆

mdonnalley added a commit that referenced this pull request Jun 4, 2024
* feat: added option to specify example flag value in docopts (#1091)

* feat: added option to specify example flag value in docopts

* feat: combined extra flag property with helpValue

* test: more tests

---------

Co-authored-by: Kaden Emley <104032811+kemley76@users.noreply.github.com>
@kemley76 kemley76 deleted the usage-string-values branch August 8, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:signed enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants