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

docs: describe commandDir() parameters (#1540) #1613

Merged
merged 4 commits into from Jun 2, 2020
Merged

Conversation

bennycode
Copy link
Contributor

The commandDir option is explained in Advanced Topics but missing from the API list.

@bcoe
Copy link
Member

bcoe commented May 30, 2020

@bennyn thanks for the contribution 👍 I'm excited to document this.

One thing jumps out at me, the formatting is a bit off compared to how we've documented parameters elsewhere in the doc:

https://github.com/yargs/yargs/blob/master/docs/api.md#commandmodule

Where we've just used a paragraph per parameter, with the parameter starting in back-ticks, mind matching this formatting?

@bennycode
Copy link
Contributor Author

Hey @bcoe, I will update my PR matching your style guide!

@bennycode
Copy link
Contributor Author

@bcoe Style updated! 👍

@bcoe bcoe merged commit 791cc59 into yargs:master Jun 2, 2020
@bcoe
Copy link
Member

bcoe commented Jun 2, 2020

@bennyn thank you for the contribution \o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants