zrokloop run (#40)

This commit is contained in:
Michael Quigley 2022-09-30 15:23:53 -04:00
parent 779eb8fb24
commit 37c1de1103
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

25
cmd/zrokloop/loop.go Normal file
View File

@ -0,0 +1,25 @@
package main
import "github.com/spf13/cobra"
func init() {
rootCmd.AddCommand(newRun().cmd)
}
type run struct {
cmd *cobra.Command
}
func newRun() *run {
cmd := &cobra.Command{
Use: "run",
Short: "Start a loop agent",
Args: cobra.ExactArgs(0),
}
r := &run{cmd: cmd}
cmd.Run = r.run
return r
}
func (r *run) run(_ *cobra.Command, _ []string) {
}