2023-04-05 15:12:51 +02:00
|
|
|
package cast
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/urfave/cli/v2"
|
2024-01-12 14:02:53 +01:00
|
|
|
|
|
|
|
// Register casting device supported types
|
|
|
|
_ "forge.cadoles.com/arcad/edge/pkg/module/cast/arcast"
|
|
|
|
_ "forge.cadoles.com/arcad/edge/pkg/module/cast/chromecast"
|
2023-04-05 15:12:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func Root() *cli.Command {
|
|
|
|
return &cli.Command{
|
|
|
|
Name: "cast",
|
|
|
|
Usage: "Cast related commands",
|
|
|
|
Subcommands: []*cli.Command{
|
|
|
|
ScanCommand(),
|
|
|
|
LoadURLCommand(),
|
2024-01-12 12:11:41 +01:00
|
|
|
StatusCommand(),
|
|
|
|
StopCastCommand(),
|
2023-04-05 15:12:51 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|