@@ -28,7 +28,7 @@ $ npm install -g @hackmd/hackmd-cli
28
28
$ hackmd-cli COMMAND
29
29
running command...
30
30
$ hackmd-cli (-v| --version| version)
31
- @hackmd/hackmd-cli/2.0.0 darwin-x64 node-v12.21 .0
31
+ @hackmd/hackmd-cli/2.0.1 darwin-arm64 node-v17.7 .0
32
32
$ hackmd-cli --help [COMMAND]
33
33
USAGE
34
34
$ hackmd-cli COMMAND
@@ -97,6 +97,7 @@ All available configurations are listed in the table below.
97
97
## Commands
98
98
99
99
<!-- commands -->
100
+ * [ ` hackmd-cli export ` ] ( #hackmd-cli-export )
100
101
* [ ` hackmd-cli help [COMMAND] ` ] ( #hackmd-cli-help-command )
101
102
* [ ` hackmd-cli history ` ] ( #hackmd-cli-history )
102
103
* [ ` hackmd-cli login ` ] ( #hackmd-cli-login )
@@ -113,6 +114,25 @@ All available configurations are listed in the table below.
113
114
* [ ` hackmd-cli version ` ] ( #hackmd-cli-version )
114
115
* [ ` hackmd-cli whoami ` ] ( #hackmd-cli-whoami )
115
116
117
+ ## ` hackmd-cli export `
118
+
119
+ Export note content
120
+
121
+ ```
122
+ USAGE
123
+ $ hackmd-cli export
124
+
125
+ OPTIONS
126
+ -h, --help Show CLI help.
127
+ --noteId=noteId HackMD note id
128
+
129
+ EXAMPLE
130
+ $ hackmd-cli export --noteId=kNFWV5E-Qz-QP7u6XnNvyQ
131
+ # A note to be exported
132
+ ```
133
+
134
+ _ See code: [ src/commands/export.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1/src/commands/export.ts ) _
135
+
116
136
## ` hackmd-cli help [COMMAND] `
117
137
118
138
display help for hackmd-cli
@@ -157,7 +177,7 @@ EXAMPLE
157
177
BnC6gN0_TfStV2KKmPPXeg Welcome to your team's workspace null CLI-test
158
178
```
159
179
160
- _ See code: [ src/commands/history.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/history.ts ) _
180
+ _ See code: [ src/commands/history.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/history.ts ) _
161
181
162
182
## ` hackmd-cli login `
163
183
@@ -178,7 +198,7 @@ EXAMPLE
178
198
Login successfully
179
199
```
180
200
181
- _ See code: [ src/commands/login.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/login.ts ) _
201
+ _ See code: [ src/commands/login.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/login.ts ) _
182
202
183
203
## ` hackmd-cli logout `
184
204
@@ -197,7 +217,7 @@ EXAMPLE
197
217
You've logged out successfully
198
218
```
199
219
200
- _ See code: [ src/commands/logout.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/logout.ts ) _
220
+ _ See code: [ src/commands/logout.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/logout.ts ) _
201
221
202
222
## ` hackmd-cli notes `
203
223
@@ -226,7 +246,7 @@ EXAMPLE
226
246
raUuSTetT5uQbqQfLnz9lA CLI test note gvfz2UB5THiKABQJQnLs6Q null
227
247
```
228
248
229
- _ See code: [ src/commands/notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/notes/index.ts ) _
249
+ _ See code: [ src/commands/notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/notes/index.ts ) _
230
250
231
251
## ` hackmd-cli notes:create `
232
252
@@ -261,7 +281,7 @@ EXAMPLES
261
281
cat README.md | hackmd-cli notes create
262
282
```
263
283
264
- _ See code: [ src/commands/notes/create.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/notes/create.ts ) _
284
+ _ See code: [ src/commands/notes/create.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/notes/create.ts ) _
265
285
266
286
## ` hackmd-cli notes:delete `
267
287
@@ -279,7 +299,7 @@ EXAMPLE
279
299
$ hackmd-cli notes delete --noteId=WNkLM6gkS0Cg2cQ8rv7bYA
280
300
```
281
301
282
- _ See code: [ src/commands/notes/delete.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/notes/delete.ts ) _
302
+ _ See code: [ src/commands/notes/delete.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/notes/delete.ts ) _
283
303
284
304
## ` hackmd-cli notes:update `
285
305
@@ -295,10 +315,10 @@ OPTIONS
295
315
--noteId=noteId HackMD note id
296
316
297
317
EXAMPLE
298
- $ hackmd-cli notes update --teamPath=CLI-test -- noteId=WNkLM6gkS0Cg2cQ8rv7bYA --content='# A new title'
318
+ $ hackmd-cli notes update --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --content='# A new title'
299
319
```
300
320
301
- _ See code: [ src/commands/notes/update.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/notes/update.ts ) _
321
+ _ See code: [ src/commands/notes/update.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/notes/update.ts ) _
302
322
303
323
## ` hackmd-cli team-notes `
304
324
@@ -328,7 +348,7 @@ EXAMPLE
328
348
BnC6gN0_TfStV2KKmPPXeg Welcome to your team's workspace null CLI-test
329
349
```
330
350
331
- _ See code: [ src/commands/team-notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/team-notes/index.ts ) _
351
+ _ See code: [ src/commands/team-notes/index.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/team-notes/index.ts ) _
332
352
333
353
## ` hackmd-cli team-notes:create `
334
354
@@ -365,7 +385,7 @@ EXAMPLES
365
385
cat README.md | hackmd-cli notes create --teamPath=CLI-test
366
386
```
367
387
368
- _ See code: [ src/commands/team-notes/create.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/team-notes/create.ts ) _
388
+ _ See code: [ src/commands/team-notes/create.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/team-notes/create.ts ) _
369
389
370
390
## ` hackmd-cli team-notes:delete `
371
391
@@ -384,7 +404,7 @@ EXAMPLE
384
404
$ hackmd-cli team-notes delete --teamPath=CLI-test --noteId=WNkLM6gkS0Cg2cQ8rv7bYA
385
405
```
386
406
387
- _ See code: [ src/commands/team-notes/delete.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/team-notes/delete.ts ) _
407
+ _ See code: [ src/commands/team-notes/delete.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/team-notes/delete.ts ) _
388
408
389
409
## ` hackmd-cli team-notes:update `
390
410
@@ -404,7 +424,7 @@ EXAMPLE
404
424
$ hackmd-cli team-notes update --teamPath=CLI-test --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --content='# A new title'
405
425
```
406
426
407
- _ See code: [ src/commands/team-notes/update.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/team-notes/update.ts ) _
427
+ _ See code: [ src/commands/team-notes/update.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/team-notes/update.ts ) _
408
428
409
429
## ` hackmd-cli teams `
410
430
@@ -432,7 +452,7 @@ EXAMPLE
432
452
f76308a6-d77a-41f6-86d0-8ada426a6fb4 CLI test team CLI-test 82f7f3d9-4079-4c78-8a00-14094272ece9
433
453
```
434
454
435
- _ See code: [ src/commands/teams.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/teams.ts ) _
455
+ _ See code: [ src/commands/teams.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/teams.ts ) _
436
456
437
457
## ` hackmd-cli version `
438
458
@@ -469,7 +489,7 @@ EXAMPLE
469
489
82f7f3d9-4079-4c78-8a00-14094272ece9 Ming-Hsiu Tsai null gvfz2UB5THiKABQJQnLs6Q
470
490
```
471
491
472
- _ See code: [ src/commands/whoami.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.0 /src/commands/whoami.ts ) _
492
+ _ See code: [ src/commands/whoami.ts] ( https://github.com/hackmdio/hackmd-cli/blob/v2.0.1 /src/commands/whoami.ts ) _
473
493
<!-- commandsstop -->
474
494
475
495
## License
0 commit comments