Skip to content

Let start-react-app provide a simple cli for common tasks? #55

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

Closed
keyz opened this issue Jul 21, 2016 · 9 comments
Closed

Let start-react-app provide a simple cli for common tasks? #55

keyz opened this issue Jul 21, 2016 · 9 comments

Comments

@keyz
Copy link
Contributor

keyz commented Jul 21, 2016

Inspired by motion. It's very handy that I can type things into npm start to do some common tasks. Vorpal seems like a great tool for this.

Tasks that i can think of:

  • o, open: open in browser
  • e, edit: open project root in an editor (atom? 😃)
  • v, verbose: show/hide all webpack logs
@vjeux
Copy link
Contributor

vjeux commented Jul 21, 2016

o is already done by default fyi ;)

@gaearon
Copy link
Contributor

gaearon commented Jul 21, 2016

Anybody wants to do the AppleScript thing before we release?
#38

@lacker
Copy link
Contributor

lacker commented Jul 21, 2016

It's a little odd if the available commands are

npm start
npm run build
npm run eject
npm start e

Just because I would expect, if this project provides "n different scripts", for them each to be run in a similar way.

@keyz
Copy link
Contributor Author

keyz commented Jul 21, 2016

Ah, sorry I didn't make it clear @lacker. npm start will be a long-running session and I'm suggesting that it could provide a REPL-like cli like
screen shot 2016-07-21 at 1 36 01 pm

@gaearon
Copy link
Contributor

gaearon commented Jul 21, 2016

Wow, this is pretty cool, I like that.

@keyz
Copy link
Contributor Author

keyz commented Jul 21, 2016

@gaearon cool i'm on it

@dthree
Copy link

dthree commented Jul 24, 2016

Feel free to ask me any questions on implementing Vorpal 👍

@keyz
Copy link
Contributor Author

keyz commented Jul 24, 2016

Thanks @dthree!

@gaearon
Copy link
Contributor

gaearon commented Sep 3, 2016

Closing for now as no specific proposals that seem worth implementing.

@gaearon gaearon closed this as completed Sep 3, 2016
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants