Skip to content

Help developers transition their knowledge of ng set ng get #10558

Closed
@StephenFluin

Description

@StephenFluin

Versions

CLI 6.0.0-rc.7

Repro steps

ng set --global packageManager=yarn

Observed behavior

$ ng set --global packageManager=yarn
The specified command ("set") is invalid. For a list of available options,
run "ng help".

Did you mean "e"?

Desired behavior

Show a helpful error message explaining the change. Possible text idea below:

`ng set` and `ng get` have been replaced with `ng config`. 

Before:
ng set packageManager=yarn

After:
ng config cli.packageManager yarn

Ideally the instructions would translate the command they tried running or it could just output ng config --help.

Metadata

Metadata

Assignees

Labels

P5The team acknowledges the request but does not plan to address it, it remains open for discussion

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions