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

Flags for saving & installing all without input. #10

Open
reggi opened this issue Sep 5, 2015 · 3 comments
Open

Flags for saving & installing all without input. #10

reggi opened this issue Sep 5, 2015 · 3 comments
Labels

Comments

@reggi
Copy link

reggi commented Sep 5, 2015

Is it possible to add a flag that will install all missing deps? I'd love to automate this command so that I can just run deps ./index.js --force and it wouldn't ask me what to do, it would just add all the deps.

@reggi
Copy link
Author

reggi commented Sep 6, 2015

Moving the convo from npm/npm#9456 (comment) to here.

I feature I'd really love is the ability to save automatically. I know you have an input for saving but it's not without user feedback.

  • deps index.js --force would install lodash & bluebird
  • deps index.js --force --save would install & save lodash & bluebird
  • deps index.js --force --save-dev would install & save as dev dep lodash & bluebird

@reggi reggi changed the title Automation Flags for saving & installing all without input. Sep 6, 2015
@reggi
Copy link
Author

reggi commented Sep 6, 2015

Also a way to get an non-zero exit code if all the deps aren't found via this command would be stellar.

deps index.js --validate 

If missing deps exit with 1, if have all deps exit with 0.

@jonschlinkert
Copy link
Collaborator

Great ideas, tomorrow I'll have more time to review, just wanted to let you know I saw the issues. thank you!

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

No branches or pull requests

2 participants