1.0.5 • Published 3 years ago

luogu-cli v1.0.5

Weekly downloads
171
License
GPL-3.0
Repository
github
Last release
3 years ago

如果 luogu-cli 在运行时产生了类似下面的错误:

/usr/bin/env: “node\r”: 没有那个文件或目录

请尝试下面的操作: image.png

luogu-cli

洛谷命令行工具

支持以下功能:

  • 题目查看
  • 题目提交
  • 题目搜索
  • 犇犇发送
  • 犇犇查看
  • 云剪切板新建
  • 云剪切板查看

暂时不支持的功能:

  • 所有需要验证码的操作

安装/更新

npm install -g luogu-cli

使用

全部功能

% luogu -h

Usage: luogu [options] [command]

Options:
  -V, --version                    output the version number
  -h, --help                       display help for command

Commands:
  auth|a <command>                 用户身份验证 (login|logout|status)
  problem|p <command> [params...]  题目提交/查看 (submit <file> <id> [contest id]|view <id>|search <keyword>)
  benben|b <command> [params...]   犇犇 (send <message>|view [page])
  paste|pas <command> [params...]  云剪切板(list|view <id>|new)
  tool <command>                   工具(captcha|check-online)
  help [command]                   display help for command

示例

luogu p submit main.cpp P1000
luogu benben view
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago