etcdctl/ctlv3/command/lease_command.go
func leaseListCommandFunc(cmd *cobra.Command, args []string) {
	resp, rerr := mustClientFromCmd(cmd).Leases(context.TODO())
	if rerr != nil {
		ExitWithError(ExitBadConnection, rerr)
	}
	display.Leases(*resp)
}
func leaseListCommandFunc(cmd *cobra.Command, args []string) {
	resp, rerr := mustClientFromCmd(cmd).Leases(context.TODO())
	if rerr != nil {
		ExitWithError(ExitBadConnection, rerr)
	}
	display.Leases(*resp)
}
func leaseListCommandFunc ( cmd * cobra . Command , args [ ] string ) { resp , rerr := mustClientFromCmd ( cmd ) . Leases ( context . TODO ( ) ) if rerr != nil { ExitWithError ( ExitBadConnection , rerr ) } display . Leases ( * resp ) }
// leaseListCommandFunc executes the "lease list" command.
leaseListCommandFunc executes the lease list command .