Add limit command

@theneikos please review.