File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,18 @@ export QIITA_ACCESS_TOKEN=9226168a5ef65f8e81153b460e7c78f8b8e53394
71
71
npx qiita_export_all
72
72
```
73
73
74
+ ### Command Line options
75
+
76
+ ``` plain
77
+ Usage: qiita_export_all [options]
78
+
79
+ Options:
80
+ -V, --version output the version number
81
+ -u, --user-id <id> Qiita user id you want to download(default: the user who get QIITA_ACCESS_TOKEN).
82
+ -o, --output <path> Write output to <path> instead of current directory.
83
+ -h, --help output usage information
84
+ ```
85
+
74
86
## Note
75
87
76
88
- md ファイルは UTF-8 でエクスポートします
Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ if (token == null) {
67
67
} else {
68
68
program
69
69
. version ( "1.4.0" )
70
- . option ( "-u, --user-id <id>" , "user id" )
71
- . option ( "-o, --output <file>" , "Write output to <file> instead of current directory." )
70
+ . name ( "qiita_export_all" )
71
+ . option ( "-u, --user-id <id>" , "Qiita user id you want to download(default: the user who get QIITA_ACCESS_TOKEN)." )
72
+ . option ( "-o, --output <path>" , "Write output to <path> instead of current directory." )
72
73
. parse ( process . argv ) ;
73
74
main ( program . userId , program . output ) . catch ( er => {
74
75
console . error ( er . stack , er ) ;
You can’t perform that action at this time.
0 commit comments