mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
9ff9b4ddd7
commit
5859d830b0
@ -16,6 +16,7 @@ const TOKEN = "token"
|
||||
func init() {
|
||||
Index.MergeCommands(ice.Commands{
|
||||
TOKEN: {Name: "token username auto prunes", Actions: ice.MergeActions(ice.Actions{
|
||||
ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { aaa.White(m, "token.sid") }},
|
||||
web.PP("get"): {Hand: func(m *ice.Message, arg ...string) {
|
||||
m.Cmd(nfs.CAT, kit.HomePath(".git-credentials"), func(text string) {
|
||||
if strings.HasSuffix(text, ice.AT+arg[0]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user