-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
contribution welcomeintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.scope: cli
Description
Currently users have to manually open and edit ~/.vuerc
and by looking at the help message users don't really realize it's there.
We should have a vue config
command that allows users to more easily inspect and modify the config (and potentially makes it easier for external tools to access/modify the config via the CLI).
vue config
: prints the resolved full path and content of~/.vuerc
vue config get <path>
- e.g.vue config get packageManager
vue config set <path> <value>
- e.g.vue config set useTaobaoRegistry false
(should handle special case parsing for boolean and number values)vue config delete <path>
- e.g. deleting a preset:vue config delete preset.foo
vue config edit
- opens~/.vuerc
with the default editor (viaEDITOR
env var)
Akryum, arthurdenner, andreasvirkus, kazupon, arszp10 and 6 moreSakhriHoussem
Metadata
Metadata
Assignees
Labels
contribution welcomeintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.scope: cli