added plugin detected

This commit is contained in:
2021-07-13 23:28:45 +04:00
parent 02f72209dc
commit 63f570bb4f
3 changed files with 30 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ var (
ServerList bool
SetDefaultConfig bool
NetworkInterface bool
ViewPlugin bool
)
var AppConfigFlags = []cli.Flag{
@@ -122,4 +123,11 @@ var AppConfigFlags = []cli.Flag{
EnvVars: []string{"NETWORK_INTERFACE"},
Destination: &NetworkInterface,
},
&cli.BoolFlag{
Name: "ViewPlugins",
Aliases: []string{"vp"},
Usage: "Shows plugins available to be executed",
EnvVars: []string{"VIEW_PLUGIN"},
Destination: &ViewPlugin,
},
}