@unneeded/unneeded-cli
v0.1.3
Published
find unneeded files
Downloads
11
Readme
@unneeded/unneeded-cli
find unneeded files
Usage
$ npm install -g @unneeded/unneeded-cli
$ unneeded COMMAND
running command...
$ unneeded (-v|--version|version)
@unneeded/unneeded-cli/0.1.3 darwin-x64 node-v10.16.0
$ unneeded --help [COMMAND]
USAGE
$ unneeded COMMAND
...
Commands
unneeded help [COMMAND]
display help for unneeded
USAGE
$ unneeded help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
unneeded ls
list all unneeded files
USAGE
$ unneeded ls
OPTIONS
-a, --audit=audit (required) path relative to context of the directory you want to audit
-c, --context=context [default: .] cwd for unneeded, default to current directory
-e, --entry=entry (required) path relative to context of the entry file
-h, --help show CLI help
EXAMPLE
$ unneeded ls --entry /path/to/a.js --audit /path/to
/path/to/b.js
See code: src/commands/ls.ts