2023-02-02 10:55:24 +01:00
|
|
|
package agent
|
|
|
|
|
|
|
|
import (
|
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/agent/openwrt"
|
2023-03-02 17:22:27 +01:00
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/config"
|
2023-02-02 10:55:24 +01:00
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
func Root() *cli.Command {
|
|
|
|
return &cli.Command{
|
|
|
|
Name: "agent",
|
|
|
|
Usage: "Agent related commands",
|
|
|
|
Subcommands: []*cli.Command{
|
|
|
|
openwrt.Root(),
|
2023-03-02 17:22:27 +01:00
|
|
|
config.Root(),
|
2023-02-02 10:55:24 +01:00
|
|
|
RunCommand(),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|