A new CLI generated with oclif
$ npm install -g qbank
$ qbank COMMAND
running command...
$ qbank (--version)
qbank/0.0.0 darwin-arm64 node-v20.18.1
$ qbank --help [COMMAND]
USAGE
$ qbank COMMAND
...
qbank bank list
qbank category list
qbank chain
qbank help [COMMAND]
qbank output convert
qbank output upload
qbank question fetch
qbank sheet list
qbank vendor list
qbank vendor login
题库列表
USAGE
$ qbank bank list [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo]
FLAGS
-r, --clean 清除缓存
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing
-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-ch
apter|wx233|yiguo>
DESCRIPTION
题库列表
EXAMPLES
$ qbank bank list
List banks (./src/commands/course/list.ts)
See code: src/commands/bank/list.ts
类别列表
USAGE
$ qbank category list [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [-b <value>] [--rich]
FLAGS
-b, --bank=<value> 题库ID/名称/Key
-r, --clean 清除缓存
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing
-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-ch
apter|wx233|yiguo>
--rich 详细信息
DESCRIPTION
类别列表
EXAMPLES
$ qbank category list
List categories (./src/commands/category/list.ts)
See code: src/commands/category/list.ts
链式调用 qbank 命令
USAGE
$ qbank chain [-r *|bank.list|category.list|sheet.list|question.fetch|output.convert|output.upload...]
[-u <value>] [-v biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenb
i|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [--bank-list
<value>...] [--category-list <value>...] [-o <value>] [--output-username <value>] [--sheet-list <value>...]
FLAGS
-o, --output=<value> 接收方
-r, --clean=<option>... [default: ] 清除缓存/重新转换
<options:
*|bank.list|category.list|sheet.list|question.fetch|output.convert|output.upload>
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|
chaoxing-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wa
ntiku|wantiku-chapter|wx233|yiguo>
--bank-list=<value>... [default: *] 题库
--category-list=<value>... [default: *] 分类
--output-username=<value> 接收方用户名
--sheet-list=<value>... [default: *] 试卷
DESCRIPTION
链式调用 qbank 命令
EXAMPLES
$ qbank chain
Chain to qbank (./src/commands/chain/index.ts)
See code: src/commands/chain/index.ts
Display help for qbank.
USAGE
$ qbank help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for qbank.
See code: @oclif/plugin-help
转换题目格式
USAGE
$ qbank output convert [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [-b <value>] [-c <value>] [-o
<value>] [--output-username <value>] [-s <value>]
FLAGS
-b, --bank=<value> 题库ID/名称/Key
-c, --category=<value> 分类ID/名称
-o, --output=<value> 接收方
-r, --clean 清除缓存
-s, --sheet=<value> 试卷ID/名称
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|c
haoxing-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|want
iku|wantiku-chapter|wx233|yiguo>
--output-username=<value> 接收方用户名
DESCRIPTION
转换题目格式
EXAMPLES
$ qbank output convert
Convert questions (./src/commands/output/convert.ts)
See code: src/commands/output/convert.ts
上传题目到接收方
USAGE
$ qbank output upload [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [-b <value>] [-c <value>] [-o
<value>] [--output-username <value>] [-s <value>]
FLAGS
-b, --bank=<value> 题库ID/名称/Key
-c, --category=<value> 分类ID/名称
-o, --output=<value> 接收方
-r, --clean 清除缓存
-s, --sheet=<value> 试卷ID/名称
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|c
haoxing-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|want
iku|wantiku-chapter|wx233|yiguo>
--output-username=<value> 接收方用户名
DESCRIPTION
上传题目到接收方
EXAMPLES
$ qbank output upload
Upload questions (./src/commands/output/upload.ts)
See code: src/commands/output/upload.ts
爬取题目
USAGE
$ qbank question fetch [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [-b <value>] [-c <value>] [-s
<value>]
FLAGS
-b, --bank=<value> 题库ID/名称/Key
-c, --category=<value> 分类ID/名称
-r, --clean 清除缓存
-s, --sheet=<value> 试卷ID/名称
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing
-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-ch
apter|wx233|yiguo>
DESCRIPTION
爬取题目
EXAMPLES
$ qbank question fetch
Fetch questions (./src/commands/question/fetch.ts)
See code: src/commands/question/fetch.ts
章节/篇章/试卷列表
USAGE
$ qbank sheet list [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [-b <value>] [-c <value>]
FLAGS
-b, --bank=<value> 题库ID/名称/Key
-c, --category=<value> 分类ID/名称/Key
-r, --clean 清除缓存
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing
-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-ch
apter|wx233|yiguo>
DESCRIPTION
章节/篇章/试卷列表
EXAMPLES
$ qbank sheet list
List sheets (./src/commands/sheet/list.ts)
See code: src/commands/sheet/list.ts
题库供应商列表
USAGE
$ qbank vendor list
DESCRIPTION
题库供应商列表
EXAMPLES
$ qbank vendor list
List vendors (./src/commands/vendor/list.ts)
See code: src/commands/vendor/list.ts
登录供应商
USAGE
$ qbank vendor login [-r] [-u <value>] [-v
biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing-work|demo|fenbi|fenbi-kaoyan|js
on-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-chapter|wx233|yiguo] [-p <value>]
FLAGS
-p, --password=<value> 密码
-r, --clean 清除缓存
-u, --username=<value> 用户名/邮箱/手机号
-v, --vendor=<option> 题库供应商
<options: biguo-chapter|biguo-free|biguo-real|biguo-vip|chaoxing-assets|chaoxing-exam|chaoxing
-work|demo|fenbi|fenbi-kaoyan|json-file|learnabc|markji|mytodo-aws|shangfen|wantiku|wantiku-ch
apter|wx233|yiguo>
DESCRIPTION
登录供应商
EXAMPLES
$ qbank vendor login
Login to vendor (./src/commands/vendor/login.ts)
See code: src/commands/vendor/login.ts