This commit is contained in:
Barak Michener 2018-03-28 13:28:19 -07:00
parent ec54c4baa0
commit 51fa79ef2f
4 changed files with 64 additions and 0 deletions

13
cmd/kubelwagen/main.go Normal file
View file

@ -0,0 +1,13 @@
package main
import (
"fmt"
"os"
)
func main() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}

12
cmd/kubelwagen/root.go Normal file
View file

@ -0,0 +1,12 @@
package main
import "github.com/spf13/cobra"
var rootCmd = &cobra.Command{
Use: "kubelwagen",
Short: "kubelwagen is a FUSE service that mount a directory provided by an HTTP client",
Long: "For more information see https://github.com/barakmich/kubelwagen",
Run: rootRun,
}
func rootRun(cmd *cobra.Command)