chore: add cmd

This commit is contained in:
2025-01-06 21:39:15 +01:00
parent 8b96947978
commit 7f64ff3b85
5 changed files with 47 additions and 5 deletions

15
cmd/orbis/main.go Normal file
View 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
View 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
}