-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): list commands #4245
feat(cli): list commands #4245
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4245 +/- ##
==========================================
- Coverage 94.04% 92.98% -1.06%
==========================================
Files 50 51 +1
Lines 1678 1696 +18
Branches 436 438 +2
==========================================
- Hits 1578 1577 -1
- Misses 97 116 +19
Partials 3 3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than fmt
tree shaking issue, LGTM
packages/cli/src/command.js
Outdated
@@ -1,12 +1,9 @@ | |||
import parseArgs from 'minimist' | |||
import { name, version } from '../package.json' | |||
import { loadNuxtConfig, indent, foldLines } from './utils' | |||
import { loadNuxtConfig } from './utils' | |||
import * as fmt from './formatting' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This type of import prevents tree-shaking utils
@pi0 go wild :)