Skip to content

Ability to open editors when installation is done #29922

Closed as not planned
Closed as not planned
@naaajii

Description

@naaajii

Command

new

Description

it would be nice if CLI prompts for if we want to open the folder after installation is finished instead of manually opening our editors there.

for bonus point maybe if CLI also asks we would wanna serve the project.

Describe the solution you'd like

maybe something with the prompts itself would be nice that asks if we want to open the folder with [x] editor or serve project after installation.

we could also have flags that we can pass instead of prompting, something like:

ng new [...] --editor=code --auto-serve

Describe alternatives you've considered

maybe write package that takes same commands as Angular CLI and runs them afterwards.

chain commands all the time: ng new [...] && cd [name] && code . && ng serve --o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions