Files
stfs/cmd/serve_root.go
2021-12-19 18:29:33 +01:00

19 lines
288 B
Go

package cmd
import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
var serveCmd = &cobra.Command{
Use: "serve",
Aliases: []string{"ser", "s", "srv"},
Short: "Serve tape or tar file and the index",
}
func init() {
viper.AutomaticEnv()
rootCmd.AddCommand(serveCmd)
}