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] Add destroy command to CLI documentation #625

Closed
thedavidprice opened this issue May 29, 2020 · 2 comments
Closed

[Docs] Add destroy command to CLI documentation #625

thedavidprice opened this issue May 29, 2020 · 2 comments

Comments

@thedavidprice
Copy link
Contributor

@jtoar I don't believe this happened when the PR was merged. But the yarn rw destroy help info is good and can probably be copy+paste into documentation.

Anything else I might be missing here?

@jtoar
Copy link
Contributor

jtoar commented May 29, 2020

@thedavidprice I think you got it all--I'll add positionals for consistency since that's what's happening in #594 (I'll add it to there). It'd just be adding something like this to createYargsForComponentDestroy:

builder: (yargs) => {
  yargs.positional('name', {
  desc: `Name of the ${componentName}`,
  type: 'string',
})

@thedavidprice
Copy link
Contributor Author

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

No branches or pull requests

2 participants