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
Migrate deploy command to inquirer #372
Migrate deploy command to inquirer #372
Conversation
Processing for selecting a version is duplicated between |
Thanks! OLDclasp deploy [version] [description]
clasp redeploy [deploymentId] [version] [description]
clasp undeploy <deploymentId> NEWclasp deploy [--version=version] [--description=description] [--deploymentId=id]
clasp undeploy [deploymentId]
# redeploy removed clasp deployIf we don't provide a version, create a new version. clasp undeployIf we don't provide a deploymentId, we undeploy the last deployment. This would be a big enhancement to deploy. |
OK, I close this PR once. |
#366 This PR follows the design of #372 (comment) . - [ ] `npm run test` succeeds. - [x] `npm run lint` succeeds. - [x] Appropriate changes to README are included in PR. I am struggling to think of the name of args and I want your idea. #366 (comment)
If you do not enter `deploymentId`, the latest deploymentId will be used. This PR follows the design of #372 (comment) . - [ ] `npm run test` succeeds. - [x] `npm run lint` succeeds. - [x] Appropriate changes to README are included in PR.
#57
If you don't input args in
clasp deploy
, we useinquirer
to ask args.npm run test
succeeds.npm run lint
succeeds.