File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -46,21 +46,46 @@ USAGE
46
46
<!-- usagestop -->
47
47
# Commands
48
48
<!-- commands -->
49
+ * [ ` cdt autocomplete [SHELL] ` ] ( #cdt-autocomplete-shell )
49
50
* [ ` cdt bundlephobia [PACKAGE] ` ] ( #cdt-bundlephobia-package )
50
51
* [ ` cdt crypto [STRING] ` ] ( #cdt-crypto-string )
51
52
* [ ` cdt hash [STRING] ` ] ( #cdt-hash-string )
52
53
* [ ` cdt help [COMMAND] ` ] ( #cdt-help-command )
53
54
* [ ` cdt minify [FILE] ` ] ( #cdt-minify-file )
54
55
56
+ ## ` cdt autocomplete [SHELL] `
57
+
58
+ display autocomplete installation instructions
59
+
60
+ ```
61
+ USAGE
62
+ $ cdt autocomplete [SHELL]
63
+
64
+ ARGUMENTS
65
+ SHELL shell type
66
+
67
+ OPTIONS
68
+ -r, --refresh-cache Refresh cache (ignores displaying instructions)
69
+
70
+ EXAMPLES
71
+ $ cdt autocomplete
72
+ $ cdt autocomplete bash
73
+ $ cdt autocomplete zsh
74
+ $ cdt autocomplete --refresh-cache
75
+ ```
76
+
77
+ _ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v0.1.4/src/commands/autocomplete/index.ts ) _
78
+
55
79
## ` cdt bundlephobia [PACKAGE] `
56
80
57
- Find cost of adding a npm/yarn package
81
+ Find cost of adding a npm/yarn packages or all dependencies in package.json file
58
82
59
83
```
60
84
USAGE
61
85
$ cdt bundlephobia [PACKAGE]
62
86
63
87
OPTIONS
88
+ -f, --file=file path for package.json file
64
89
-h, --help show CLI help
65
90
-p, --packages=packages packages for which cost is required, can pass more than one separated by space
66
91
```
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import Utilities from '../utilities/utilities'
9
9
// ADD package.json support
10
10
// ADD VALID tests ( for now they just ignoring )
11
11
export default class Bundlephobia extends Command {
12
- static description = 'Find cost of adding a npm/yarn package'
12
+ static description = 'Find cost of adding a npm/yarn packages or all dependencies in package.json file '
13
13
14
14
static flags = {
15
15
help : flags . help ( { char : 'h' } ) ,
You can’t perform that action at this time.
0 commit comments