@@ -28,7 +28,7 @@ $ npm install -g @hackmd/hackmd-cli
28
28
$ hackmd-cli COMMAND
29
29
running command...
30
30
$ hackmd-cli (--version| -v)
31
- @hackmd/hackmd-cli/2.3.1 darwin-arm64 node-v18.14.2
31
+ @hackmd/hackmd-cli/2.3.2 darwin-arm64 node-v18.14.2
32
32
$ hackmd-cli --help [COMMAND]
33
33
USAGE
34
34
$ hackmd-cli COMMAND
@@ -97,9 +97,7 @@ All available configurations are listed in the table below.
97
97
## Commands
98
98
99
99
<!-- commands -->
100
- * [ ` hackmd-cli completion ` ] ( #hackmd-cli-completion )
101
- * [ ` hackmd-cli completion generate ` ] ( #hackmd-cli-completion-generate )
102
- * [ ` hackmd-cli completion generate alias ALIAS ` ] ( #hackmd-cli-completion-generate-alias-alias )
100
+ * [ ` hackmd-cli autocomplete [SHELL] ` ] ( #hackmd-cli-autocomplete-shell )
103
101
* [ ` hackmd-cli export ` ] ( #hackmd-cli-export )
104
102
* [ ` hackmd-cli help [COMMANDS] ` ] ( #hackmd-cli-help-commands )
105
103
* [ ` hackmd-cli history ` ] ( #hackmd-cli-history )
@@ -117,73 +115,37 @@ All available configurations are listed in the table below.
117
115
* [ ` hackmd-cli version ` ] ( #hackmd-cli-version )
118
116
* [ ` hackmd-cli whoami ` ] ( #hackmd-cli-whoami )
119
117
120
- ## ` hackmd-cli completion `
118
+ ## ` hackmd-cli autocomplete [SHELL] `
121
119
122
- Generate shell completion script
120
+ display autocomplete installation instructions
123
121
124
122
```
125
123
USAGE
126
- $ hackmd-cli completion -s bash|fish|zsh
124
+ $ hackmd-cli autocomplete [SHELL] [-r]
127
125
128
- FLAGS
129
- -s, --shell=<option> (required) Name of shell
130
- <options: bash|fish|zsh>
131
-
132
- DESCRIPTION
133
- Generate shell completion script
134
-
135
- Run this command to see instructions for your shell.
136
-
137
- EXAMPLES
138
- $ hackmd-cli completion --shell zsh
139
- ```
140
-
141
- _ See code: [ oclif-plugin-completion] ( https://github.com/MunifTanjim/oclif-plugin-completion/blob/0.6.0/src/commands/completion/index.ts ) _
142
-
143
- ## ` hackmd-cli completion generate `
144
-
145
- Generates completion script
146
-
147
- ```
148
- USAGE
149
- $ hackmd-cli completion generate -s bash|fish|zsh
126
+ ARGUMENTS
127
+ SHELL shell type
150
128
151
129
FLAGS
152
- -s, --shell=<option> (required) Name of shell
153
- <options: bash|fish|zsh>
130
+ -r, --refresh-cache Refresh cache (ignores displaying instructions)
154
131
155
132
DESCRIPTION
156
- Generates completion script
157
-
158
- Run the "completion" command to see instructions about how to use the script generated by this command.
133
+ display autocomplete installation instructions
159
134
160
135
EXAMPLES
161
- $ hackmd-cli completion:generate --shell zsh
162
- ```
136
+ $ hackmd-cli autocomplete
163
137
164
- ## ` hackmd-cli completion generate alias ALIAS `
138
+ $ hackmd-cli autocomplete bash
165
139
166
- Generates completion script for alias
140
+ $ hackmd-cli autocomplete fish
167
141
168
- ```
169
- USAGE
170
- $ hackmd-cli completion generate alias ALIAS -s bash|fish
171
-
172
- ARGUMENTS
173
- ALIAS name of the alias
142
+ $ hackmd-cli autocomplete zsh
174
143
175
- FLAGS
176
- -s, --shell=<option> (required) Name of shell
177
- <options: bash|fish>
178
-
179
- DESCRIPTION
180
- Generates completion script for alias
181
-
182
- This needs the completion script for the main command to be present.
183
-
184
- Check the "completion:generate" command.
144
+ $ hackmd-cli autocomplete --refresh-cache
185
145
```
186
146
147
+ _ See code: [ @hackmd/oclif-plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v2.1.9-fish/src/commands/autocomplete/index.ts ) _
148
+
187
149
## ` hackmd-cli export `
188
150
189
151
Export note content
@@ -204,7 +166,7 @@ EXAMPLES
204
166
# A note to be exported
205
167
```
206
168
207
- _ See code: [ src/commands/export.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/export.ts ) _
169
+ _ See code: [ src/commands/export.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/export.ts ) _
208
170
209
171
## ` hackmd-cli help [COMMANDS] `
210
172
@@ -258,7 +220,7 @@ EXAMPLES
258
220
BnC6gN0_TfStV2KKmPPXeg Welcome to your team's workspace null CLI-test
259
221
```
260
222
261
- _ See code: [ src/commands/history.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/history.ts ) _
223
+ _ See code: [ src/commands/history.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/history.ts ) _
262
224
263
225
## ` hackmd-cli login `
264
226
@@ -280,7 +242,7 @@ EXAMPLES
280
242
Login successfully
281
243
```
282
244
283
- _ See code: [ src/commands/login.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/login.ts ) _
245
+ _ See code: [ src/commands/login.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/login.ts ) _
284
246
285
247
## ` hackmd-cli logout `
286
248
@@ -301,7 +263,7 @@ EXAMPLES
301
263
You've logged out successfully
302
264
```
303
265
304
- _ See code: [ src/commands/logout.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/logout.ts ) _
266
+ _ See code: [ src/commands/logout.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/logout.ts ) _
305
267
306
268
## ` hackmd-cli notes `
307
269
@@ -335,7 +297,7 @@ EXAMPLES
335
297
raUuSTetT5uQbqQfLnz9lA CLI test note gvfz2UB5THiKABQJQnLs6Q null
336
298
```
337
299
338
- _ See code: [ src/commands/notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/notes/index.ts ) _
300
+ _ See code: [ src/commands/notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/notes/index.ts ) _
339
301
340
302
## ` hackmd-cli notes create `
341
303
@@ -452,7 +414,7 @@ EXAMPLES
452
414
BnC6gN0_TfStV2KKmPPXeg Welcome to your team's workspace null CLI-test
453
415
```
454
416
455
- _ See code: [ src/commands/team-notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/team-notes/index.ts ) _
417
+ _ See code: [ src/commands/team-notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/team-notes/index.ts ) _
456
418
457
419
## ` hackmd-cli team-notes create `
458
420
@@ -569,7 +531,7 @@ EXAMPLES
569
531
f76308a6-d77a-41f6-86d0-8ada426a6fb4 CLI test team CLI-test 82f7f3d9-4079-4c78-8a00-14094272ece9
570
532
```
571
533
572
- _ See code: [ src/commands/teams.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/teams.ts ) _
534
+ _ See code: [ src/commands/teams.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/teams.ts ) _
573
535
574
536
## ` hackmd-cli version `
575
537
@@ -622,7 +584,7 @@ EXAMPLES
622
584
82f7f3d9-4079-4c78-8a00-14094272ece9 Ming-Hsiu Tsai null gvfz2UB5THiKABQJQnLs6Q
623
585
```
624
586
625
- _ See code: [ src/commands/whoami.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.1 /src/commands/whoami.ts ) _
587
+ _ See code: [ src/commands/whoami.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.3.2 /src/commands/whoami.ts ) _
626
588
<!-- commandsstop -->
627
589
628
590
## License
0 commit comments