Skip to content

Flags that specifies the folder of the generated application or libarary #12858

@junraemon

Description

@junraemon

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Node: v9.11.1
NPM: v6.4.1
Angular CLI: 7.0.4

Desired functionality

add a flag like --projectRoot=apps or --projectRoot=libs to specify which folder the generated apps or libaries to be added.

Mention any other details that might be useful

By default, all the generated applications and libraries are added in the projects folder. It'll be great if we have a flag that can override this. I tried --projectRoot=apps, --newProjectRoot=apps but it will always adds the project to the default newProjectRoot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions