file-store/cmd/root.go

30 lines
452 B
Go
Raw Permalink Normal View History

2022-08-24 02:54:01 +00:00
package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var root = &cobra.Command{
Use: "fls",
Short: "FiLe Store stores files efficiently across many servers",
Run: func(cmd *cobra.Command, args []string) {
// Do Stuff Here
},
}
func Execute() {
if err := root.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}
func init() {
// todo: anything to init?
// cobra.OnInitialize(initConfig)
}