Skip to content
/ qbank Public

The framework working for track online question banks

Notifications You must be signed in to change notification settings

Oscaner/qbank

Repository files navigation

qbank

A new CLI generated with oclif

oclif Version Downloads/week

Usage

$ npm install -g qbank
$ qbank COMMAND
running command...
$ qbank (--version)
qbank/0.0.0 darwin-arm64 node-v20.15.0
$ qbank --help [COMMAND]
USAGE
  $ qbank COMMAND
...

Commands

qbank bank list

题库列表

USAGE
  $ qbank bank list [-r] [-u <value>] [-v <value>]

FLAGS
  -r, --clean             清除缓存
  -u, --username=<value>  用户名/邮箱/手机号
  -v, --vendor=<value>    题库供应商

DESCRIPTION
  题库列表

EXAMPLES
  $ qbank bank list
  List banks (./src/commands/course/list.ts)

See code: src/commands/bank/list.ts

qbank category list

类别列表

USAGE
  $ qbank category list [-r] [-u <value>] [-v <value>] [-b <value>] [--rich]

FLAGS
  -b, --bank=<value>      题库ID/名称/Key
  -r, --clean             清除缓存
  -u, --username=<value>  用户名/邮箱/手机号
  -v, --vendor=<value>    题库供应商
      --rich              详细信息

DESCRIPTION
  类别列表

EXAMPLES
  $ qbank category list
  List categories (./src/commands/category/list.ts)

See code: src/commands/category/list.ts

qbank chain

链式调用 qbank 命令

USAGE
  $ qbank chain [-r *|bank.list|category.list|sheet.list|question.fetch|output.convert|output.upload...]
    [-u <value>] [-v <value>] [--bank-list <value>...] [--category-list <value>...] [--delay <value>] [--output <value>]
    [--output-username <value>] [--sheet-list <value>...]

FLAGS
  -r, --clean=<option>...         [default: ] 清除缓存/重新转换
                                  <options:
                                  *|bank.list|category.list|sheet.list|question.fetch|output.convert|output.upload>
  -u, --username=<value>          用户名/邮箱/手机号
  -v, --vendor=<value>            题库供应商
      --bank-list=<value>...      [default: *] 题库
      --category-list=<value>...  [default: *] 分类
      --delay=<value>             延迟(ms)
      --output=<value>            接收方
      --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

qbank help [COMMAND]

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

qbank output convert

转换题目格式

USAGE
  $ qbank output convert [-r] [-u <value>] [-v <value>] [-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=<value>           题库供应商
      --output-username=<value>  接收方用户名

DESCRIPTION
  转换题目格式

EXAMPLES
  $ qbank output convert
  Convert questions (./src/commands/output/convert.ts)

See code: src/commands/output/convert.ts

qbank output upload

上传题目到接收方

USAGE
  $ qbank output upload [-r] [-u <value>] [-v <value>] [-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=<value>           题库供应商
      --output-username=<value>  接收方用户名

DESCRIPTION
  上传题目到接收方

EXAMPLES
  $ qbank output upload
  Upload questions (./src/commands/output/upload.ts)

See code: src/commands/output/upload.ts

qbank question fetch

爬取题目

USAGE
  $ qbank question fetch [-r] [-u <value>] [-v <value>] [-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=<value>    题库供应商

DESCRIPTION
  爬取题目

EXAMPLES
  $ qbank question fetch
  Fetch questions (./src/commands/question/fetch.ts)

See code: src/commands/question/fetch.ts

qbank sheet list

章节/篇章/试卷列表

USAGE
  $ qbank sheet list [-r] [-u <value>] [-v <value>] [-b <value>] [-c <value>]

FLAGS
  -b, --bank=<value>      题库ID/名称/Key
  -c, --category=<value>  分类ID/名称/Key
  -r, --clean             清除缓存
  -u, --username=<value>  用户名/邮箱/手机号
  -v, --vendor=<value>    题库供应商

DESCRIPTION
  章节/篇章/试卷列表

EXAMPLES
  $ qbank sheet list
  List sheets (./src/commands/sheet/list.ts)

See code: src/commands/sheet/list.ts

qbank vendor list

题库供应商列表

USAGE
  $ qbank vendor list

DESCRIPTION
  题库供应商列表

EXAMPLES
  $ qbank vendor list
  List vendors (./src/commands/vendor/list.ts)

See code: src/commands/vendor/list.ts

qbank vendor login

登录供应商

USAGE
  $ qbank vendor login [-r] [-u <value>] [-v <value>] [-p <value>]

FLAGS
  -p, --password=<value>  密码
  -r, --clean             清除缓存
  -u, --username=<value>  用户名/邮箱/手机号
  -v, --vendor=<value>    题库供应商

DESCRIPTION
  登录供应商

EXAMPLES
  $ qbank vendor login
  Login to vendor (./src/commands/vendor/login.ts)

See code: src/commands/vendor/login.ts

About

The framework working for track online question banks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published