mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 20:11:20 +02:00
19 lines
259 B
Go
19 lines
259 B
Go
//go:build unix
|
|
|
|
package worker
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
command := &cobra.Command{
|
|
Use: "worker",
|
|
Short: "Run a worker on the local machine",
|
|
}
|
|
|
|
command.AddCommand(newRunCommand())
|
|
|
|
return command
|
|
}
|