2023-02-28 15:50:35 +01:00
|
|
|
package agent
|
|
|
|
|
|
|
|
import (
|
2023-03-10 11:28:37 +01:00
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/api/agent/spec"
|
2023-02-28 15:50:35 +01:00
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
func Root() *cli.Command {
|
|
|
|
return &cli.Command{
|
|
|
|
Name: "agent",
|
|
|
|
Usage: "Agents related commands",
|
|
|
|
Subcommands: []*cli.Command{
|
|
|
|
QueryCommand(),
|
|
|
|
CountCommand(),
|
|
|
|
UpdateCommand(),
|
2023-03-02 13:05:24 +01:00
|
|
|
GetCommand(),
|
2023-03-13 10:44:58 +01:00
|
|
|
DeleteCommand(),
|
2023-02-28 15:50:35 +01:00
|
|
|
spec.Root(),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|