wust校园网认证登录(web + pppoe拨号)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
canti/app/cmd/cli.go

59 lines
1.9 KiB

package main
import "github.com/urfave/cli/v2"
var helpTemplate = `
武科大wust校园网认证登录web + pppoe拨号
(当然啦是第三方的)
---------------------------------------
{{if .VisibleCommands}}
命令:{{template "visibleCommandCategoryTemplate" .}}{{end}}
{{if .VisibleFlagCategories}}
选项:{{template "visibleFlagCategoryTemplate" .}}
{{else if .VisibleFlags}}
选项:{{template "visibleFlagTemplate" .}}{{end}}
1. 使用web方法认证用户名学号为202100000000密码为12450password
./canti --username 202100000000 --password 12450password -m web
2. 安装为开机自启的服务用户信息同上文需要管理员权限
./canti install --username 202100000000 --password 12450password -m web
---------------------------------------
{{.Version}}
made by @lensfrex
本项目在Github上开源(GPLv3)
https://github.com/lensferno/canti
详细的文档也在上面哦
如果有什么好的建议之类的请务必告诉我()
`
func installService(ctx *cli.Context) error {
return nil
}
func uninstallService(ctx *cli.Context) error {
return nil
}
func login(ctx *cli.Context) error {
return nil
}
func logout(ctx *cli.Context) error {
return nil
}
func showStatus(ctx *cli.Context) error {
return nil
}