Skip to content

About

UniInfo Editor 是一个命令行工具,用于管理和编辑大学问卷信息,支持加载 CSV/文本数据、记录学校别名、删除或标记记录过期,并生成修改日志。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

70 Commits

Folders and files

Repository files navigation

uniinfo-editor

UniInfo Editor 是一个文本用户界面工具,用于管理和编辑大学问卷信息,支持加载 CSV/文本数据、记录学校别名、删除记录,并生成修改日志。

功能概览

命令 功能说明
load [data1 data2] 加载数据文件(默认自动搜寻当前目录 .csv 和 .txt 文件)
dump [newData] [newData] 导出数据文件(默认覆写)
normalize oldName newName [issueId...] 写法归一(简写 / 错别字统一为规范全称)
normalize --id ID newName [issueId...] 按答卷 ID 定向归一(旧名从数据里读,可重复给 --id)
rename oldName newName [issueId...] 学校正式更名(学校改名 / 原名填错)
rename --id ID newName [issueId...] 按答卷 ID 定向改名(旧名从数据里读,可重复给 --id)
del ID [issueId...] 删除记录
exit 退出程序(Ctrl-D 同效,Ctrl-C 开始新循环)
Ctrl-J / Alt-Enter 换行但不执行(Enter 提交执行)
generate [--git] 生成修改日志(Markdown 格式)
view ID [ID ...] 查看记录

安装

使用 pip 安装最新版:

pip install git+https://github.com/kaixinol/uniinfo-editor.git

运行

安装完成后,通过以下命令启动 TUI:

uniinfo_editor

协议

MIT License

About

UniInfo Editor 是一个命令行工具,用于管理和编辑大学问卷信息,支持加载 CSV/文本数据、记录学校别名、删除或标记记录过期,并生成修改日志。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages