command
module
Version:
v0.1.13
Opens a new window with list of versions in this module.
Published: Nov 16, 2019
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
srun
A efficient client for BIT campus network
北京理工大学校园网命令行登录工具
- 支持linux、maxOS、windows
- 基于Go语言实现
Install
- go get
如果已经安装并配置GO环境, 执行如下命令即可
go get -u -v github.com/monigo/srun
运行
$GOPATH/bin/srun -h
- Download Release
Update Log
2019.11.16
2019.9.10
2019.1.3
- 实现无缓冲输入密码(在macOS上测试通过)
- 修复宿舍无法登录移动网的bug
2018.11.24
2018.9.1
Demo
Usage: srun [OPTIONS] COMMAND

$ srun info
已用流量: 54,418.87M
已用时长: 366小时38分48秒
账户余额: ¥19.68
Contribute
要求先安装好golang环境 go version > 1.10
先克隆项目
$ git clone https://github.com/monigo/srun && cd srun
macOS下编译
$ make
或
$ make darwin
Windows下编译
$ make windows
Linux下编译
$ make linux
编译好的可执行文件在bin文件夹中
About
主要功能
- 本地保存账号到
$HOME/.srun/account.json(对安全性有疑问的请自行看代码)
- 使用账号快速登录校园网,若校园网账号绑定了移动或联通,环境支持的情况下也可以一键登录
Thanks to
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
|
|
|
pkg
|
|
term
Package term provides structures and helper functions to work with terminal (state, sizes).
|
Package term provides structures and helper functions to work with terminal (state, sizes). |
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.