mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-22 23:51:16 +00:00
21 lines
504 B
Go
21 lines
504 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var system_dfCmd = &cobra.Command{
|
|
Use: "df [OPTIONS]",
|
|
Short: "Show docker disk usage",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(system_dfCmd).Standalone()
|
|
|
|
system_dfCmd.Flags().String("format", "", "Format output using a custom template:")
|
|
system_dfCmd.Flags().BoolP("verbose", "v", false, "Show detailed information on space usage")
|
|
systemCmd.AddCommand(system_dfCmd)
|
|
}
|