2023-04-13 11:43:03 +02:00

21 lines
437 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var infoCmd = &cobra.Command{
Use: "info [OPTIONS]",
Short: "Display system-wide information",
GroupID: "common",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(infoCmd).Standalone()
infoCmd.Flags().StringP("format", "f", "", "Format the output using the given Go template")
rootCmd.AddCommand(infoCmd)
}