mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 09:13:49 +08:00
fix: setting cli
This commit is contained in:
@@ -179,24 +179,31 @@ func Cli() []*cli.Command {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "setting",
|
||||
Usage: "设置管理",
|
||||
Hidden: true,
|
||||
Commands: []*cli.Command{
|
||||
{
|
||||
Name: "write",
|
||||
Usage: "写入面板设置(仅限指导下使用)",
|
||||
Hidden: true,
|
||||
Action: cliService.WriteSetting,
|
||||
},
|
||||
{
|
||||
Name: "remove",
|
||||
Usage: "移除面板设置(仅限指导下使用)",
|
||||
Hidden: true,
|
||||
Action: cliService.RemoveSetting,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "clearTask",
|
||||
Usage: "清理面板任务队列(仅限指导下使用)",
|
||||
Hidden: true,
|
||||
Action: cliService.ClearTask,
|
||||
},
|
||||
{
|
||||
Name: "writeSetting",
|
||||
Usage: "写入面板设置(仅限指导下使用)",
|
||||
Hidden: true,
|
||||
Action: cliService.WriteSetting,
|
||||
},
|
||||
{
|
||||
Name: "removeSetting",
|
||||
Usage: "移除面板设置(仅限指导下使用)",
|
||||
Hidden: true,
|
||||
Action: cliService.RemoveSetting,
|
||||
},
|
||||
{
|
||||
Name: "init",
|
||||
Usage: "初始化面板(仅限指导下使用)",
|
||||
|
||||
Reference in New Issue
Block a user