func NewCompactionCommand() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "compaction [options] <revision>",
		Short: "Compacts the event history in etcd",
		Run:   compactionCommandFunc,
	}
	cmd.Flags().BoolVar(&compactPhysical, "physical", false, "'true' to wait for compaction to physically remove all old revisions")
	return cmd
}
func NewCompactionCommand() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "compaction [options] <revision>",
		Short: "Compacts the event history in etcd",
		Run:   compactionCommandFunc,
	}
	cmd.Flags().BoolVar(&compactPhysical, "physical", false, "'true' to wait for compaction to physically remove all old revisions")
	return cmd
}
func NewCompactionCommand ( ) * cobra . Command { cmd := & cobra . Command { Use : " " , Short : " " , Run : compactionCommandFunc , } cmd . Flags ( ) . BoolVar ( & compactPhysical , " " , false , " " ) return cmd }
// NewCompactionCommand returns the cobra command for "compaction".
NewCompactionCommand returns the cobra command for compaction .