北京理工大学校园网命令行登录工具,多系统支持
An efficient client for BIT campus network
北京理工大学校园网命令行登录工具
Related Projects
$ brew tap vouv/tap
$ brew install srun
$ srun config
# linux
$ curl -L -o srun https://github.com/vouv/srun/releases/latest/download/srun-linux
$ chmod +x ./srun
$ ./srun config
如果已经安装并配置GO环境, 执行如下命令即可
$ go install github.com/vouv/srun/cmd/srun@latest
$ $GOPATH/bin/srun config
$ srun -h
$ srun config
$ srun
$ srun login
$ srun info
2020.12.18
2020.11.3
2020.9.6
2019.11.16
2019.9.10
2019.1.3
2018.11.24
2018.9.1
要求先安装好golang环境 go version > 1.10
先克隆项目
$ git clone https://github.com/vouv/srun && cd srun
macOS下编译
$ make
或
$ make darwin
Windows下编译
$ make windows
Linux下编译
$ make linux
编译好的可执行文件在bin文件夹中
主要功能与原理
$HOME/.srun/account.json
(对安全性有疑问的请自行看代码)