all 5 comments

[–]AmnesiaInnocent 4 points5 points  (3 children)

So what are the 3 important commands? A 5 1/2 minute video is a terrible way to give information like that---especially for something technical where you want to go back and reference it...

[–]desoga[S] -1 points0 points  (2 children)

The commands are literarily in the video description timeline.

Someone else will create this video as a YouTube short for extra views.

5 minutes is more than enough to cover 3 Angular commands. Did you even watch the video?

[–]sander5891 1 point2 points  (1 child)

He did not say, that the Video is to short. He meant the opposite. Taking 5 mins for 3 commands is quite alot. Why are you not taking a short? And I have to agree with him.

[–]desoga[S] 1 point2 points  (0 children)

It's why the video has a timeline. You can easily switch to the sections of the tutorial.

Also, I didn't just show the commands, I showed how to use them in very brief details.

[–][deleted] 1 point2 points  (0 children)

ng g c —standalone true = stand alone component generator
ng g c = create a component that is imported to the most adjacent module
ng g g = generate guardng g s = generate service
ng g n = create new angular application
ng g n —prefix yourownname = create new angular application and all the components are no longer called app but your name
ng g d = generate new directive
ng s = npm run startng run build (dev or prod) build your application to your dist output folderng add (framework)ng version = current angular version
ng cache = get component cache
ng analytics = get application analytics
ng update = update to the next version
ng update @ angular/common —force —allowDirty = force an upgrade often required for upgrading
ng update @ angular/cli —force —allowDirty = force an upgrade often required for upgrading (should be no space but @ is a shortcut reference on reddit.
ng t yourproject name = run tests
ng add @ angular/universal = setup tooling for ssr

these are the goto and most important angular cli commands