Skip to content

Commit 9237e0f

Browse files
authored
Merge pull request #32 from codingtools/feature/autocomplete-plugin
Plugin support for not-found, update-available and autocomplete
2 parents 184c116 + d672128 commit 9237e0f

File tree

4 files changed

+224
-40
lines changed

4 files changed

+224
-40
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,46 @@ USAGE
4646
<!-- usagestop -->
4747
# Commands
4848
<!-- commands -->
49+
* [`cdt autocomplete [SHELL]`](#cdt-autocomplete-shell)
4950
* [`cdt bundlephobia [PACKAGE]`](#cdt-bundlephobia-package)
5051
* [`cdt crypto [STRING]`](#cdt-crypto-string)
5152
* [`cdt hash [STRING]`](#cdt-hash-string)
5253
* [`cdt help [COMMAND]`](#cdt-help-command)
5354
* [`cdt minify [FILE]`](#cdt-minify-file)
5455

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+
5579
## `cdt bundlephobia [PACKAGE]`
5680

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
5882

5983
```
6084
USAGE
6185
$ cdt bundlephobia [PACKAGE]
6286
6387
OPTIONS
88+
-f, --file=file path for package.json file
6489
-h, --help show CLI help
6590
-p, --packages=packages packages for which cost is required, can pass more than one separated by space
6691
```

0 commit comments

Comments
 (0)