emissary/internal/command/api/root.go

21 lines
416 B
Go
Raw Normal View History

2023-03-10 11:28:37 +01:00
package api
import (
2023-03-10 11:28:37 +01:00
"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{
2023-03-10 11:28:37 +01:00
Name: "api",
Usage: "API related commands",
Subcommands: []*cli.Command{
agent.Root(),
},
}
}