WIP
This commit is contained in:
parent
ec54c4baa0
commit
51fa79ef2f
4 changed files with 64 additions and 0 deletions
13
cmd/kubelwagen/main.go
Normal file
13
cmd/kubelwagen/main.go
Normal 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
12
cmd/kubelwagen/root.go
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue