chore: add cmd
This commit is contained in:
15
cmd/orbis/main.go
Normal file
15
cmd/orbis/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if err := newRoot().Execute(); err != nil {
|
||||
fmt.Printf("%s\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
12
cmd/orbis/root.go
Normal file
12
cmd/orbis/root.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
func newRoot() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "orbis",
|
||||
Short: "Orbis is a data workflow scheduler for all your batch and real-time needs",
|
||||
}
|
||||
|
||||
return cmd
|
||||
}
|
Reference in New Issue
Block a user