Hacker News new | ask | show | jobs
by ssijak 3150 days ago
I hate CLIs that do too much. Just give me a sane starter generator and I`ll take it from there. And please don`t hide webpack from me like angular cli does. And this part "generating new components/services/etc. easy" I always find strange. Creating a component or whatever takes like 1-2 shortcuts in a normal IDE. And you can also use templates to expand various reusable/common parts. Why would I ever want to learn some cli command that would create ordinary file for me which I can create as usual with the tool I already use. Heavy CLI tools just add another layer of unnecessary complexity to the project. Why don't just learn webpack which you can use on any project, and you will have much more power at your fingertips.
1 comments

> Just give me a sane starter generator

ng new my-project

> And please don`t hide webpack from me like angular cli does

ng eject; that gives you the webpack config and basically disables the CLI

> Why would I ever want to learn some cli command that would create ordinary file for me which I can create as usual with the tool I already use.

You don't have to use it, it's optional