Skip to content
lanrongqi edited this page Dec 24, 2020 · 3 revisions

CLI

CLI使用github.com/urfave/cli实现,查看帮助可以直接通过--help参数查看

NAME:
   Deer Executor - An executor for online judge.

USAGE:
   deer-executor [global options] command [command options] [arguments...]

COMMANDS:
   run, r      run code judging
   example, e  generate all kinds of configuration files
   new, n      create a new problem with example
   package     package manager
   problem, p  problem manager
   help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

功能说明

  • run 运行评测
  • example 生成配置文件样例
  • new 基于默认模板创建题目工程
  • package 题包管理
  • problem 题目工程管理

Clone this wiki locally