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

19 lines
317 B
Go

package cmd
import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
var inventoryCmd = &cobra.Command{
Use: "inventory",
Aliases: []string{"inv", "i"},
Short: "Get contents and metadata of tape or tar file from the index",
}
func init() {
viper.AutomaticEnv()
rootCmd.AddCommand(inventoryCmd)
}