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
7171npx qiita_export_all
7272```
7373
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+
7486## Note
7587
7688- md ファイルは UTF-8 でエクスポートします
Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ if (token == null) {
6767} else {
6868 program
6969 . 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." )
7273 . parse ( process . argv ) ;
7374 main ( program . userId , program . output ) . catch ( er => {
7475 console . error ( er . stack , er ) ;
You can’t perform that action at this time.
0 commit comments