21 lines
416 B
Go
21 lines
416 B
Go
package api
|
|
|
|
import (
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/api/agent"
|
|
"github.com/urfave/cli/v2"
|
|
|
|
// Output format
|
|
_ "forge.cadoles.com/Cadoles/emissary/internal/format/json"
|
|
_ "forge.cadoles.com/Cadoles/emissary/internal/format/table"
|
|
)
|
|
|
|
func Root() *cli.Command {
|
|
return &cli.Command{
|
|
Name: "api",
|
|
Usage: "API related commands",
|
|
Subcommands: []*cli.Command{
|
|
agent.Root(),
|
|
},
|
|
}
|
|
}
|