nuxt devtools enable|disable
works only with --command
flag
#69
Labels
nuxt devtools enable|disable
works only with --command
flag
#69
Problem
According to the docs, users can just type
nuxi devtools enable
to enable devtools in the project. Howerver, after #47 enable/disable flag can only be submitted with--command
before the value.There I need to ask: which way is preferred for the future? Should we change documentation or fix the command itself?
Extra info to help:
1. There is the code, where nuxi expect to have
if (!['enable', 'disable'].includes(ctx.args.command)) {
--command
flag:cli/src/commands/devtools.ts
Line 25 in 442fab8
2. There I logged
ctx.args
:3. There is the run without
--command
flag, as documented:4. There is the run with
--command flag
:The text was updated successfully, but these errors were encountered: