23 lines
439 B
Go
23 lines
439 B
Go
package cast
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
|
|
// Register casting device supported types
|
|
_ "forge.cadoles.com/arcad/edge/pkg/module/cast/arcast"
|
|
_ "forge.cadoles.com/arcad/edge/pkg/module/cast/chromecast"
|
|
)
|
|
|
|
func Root() *cli.Command {
|
|
return &cli.Command{
|
|
Name: "cast",
|
|
Usage: "Cast related commands",
|
|
Subcommands: []*cli.Command{
|
|
ScanCommand(),
|
|
LoadURLCommand(),
|
|
StatusCommand(),
|
|
StopCastCommand(),
|
|
},
|
|
}
|
|
}
|