-
Notifications
You must be signed in to change notification settings - Fork 40
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
Provide a "start" command #15
Comments
@lazaridis-com Good idea. Just to confirm though, |
I'm not sure about the value of
|
That's why I suggested mapping to |
@lazaridis-com I don't think this will ever be the case unless we wrap all the IMO, better to leave NPM to what it does best -- ie. unix philosophy number 1: "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features"." That said, maybe closing this feature request is a better idea. @raymondfeng Thoughts? Starting the app seems like NPM/Node's scope of work. |
@lazaridis-com It's more about do one thing well, which is to be the best API framework, not the best JavaScript runtime or Node.js package manager. That said, we're open to opinions. Do you suggest shielding the user away from NPM and Node.js completely? Ie. What if you want to install a dependency for your LoopBack project? Do you now want a |
@lazaridis-com Thank you for your detailed thoughts. It's an interesting perspective. I'm all for giving the people what they want. At the same time, we also try to scope down the features only the absolutely necessary. Of course the perspectives differ depending on how experienced you are as you described. Let's get some more input here. As for my opinion now, I don't mind sugar api that delegates off to NPM/Node commands if it's simple to implement (and if you're willing to contribute it since it's obviously not at the top of our current priorities, but I respect that it might be on yours). @bajtos What are you thoughts? |
I personally think that |
@lazaridis-com Gonna close this as rejected, we can reopen this if there are more requests for this feature. As a workaround, you're free to create your own bash alias (assuming you're on a unix-like OS) to do what you want:
Note: I haven't tested the above, but it's probably something along those lines. |
@lazaridis-com -- @raymondfeng and @ritch would be closer to that role, but I work closely with @bajtos on community issues. It is definitely something we're addressing, but alas resources are pulling us in many directions. The project is definitely not dead and there is a lot of work being done on the next version of LoopBack. Your concern in #3199 is definitely one of the top priorities on our list. I will comment a bit more over there. |
@lazaridis-com commented on Sun Feb 12 2017
The
lb
command line tool should have astart
command.This would simplify the usage, especially for newcomers (they don't know much about the underlying stack).
Additionally, it would be more consistent in general (one command-line tool, "lb").
Current Status
With "start" Command
$ lb app todo $ cd todo $ lb model $ lb start
The text was updated successfully, but these errors were encountered: