mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
19 lines
473 B
Go
19 lines
473 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var count_objectsCmd = &cobra.Command{
|
|
Use: "count-objects",
|
|
Short: "Count unpacked number of objects and their disk consumption",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
count_objectsCmd.Flags().BoolP("human-readable", "H", false, "print sizes in human readable format")
|
|
count_objectsCmd.Flags().BoolP("verbose", "v", false, "be verbose")
|
|
rootCmd.AddCommand(count_objectsCmd)
|
|
}
|