If you place a block next to any farmable item (I.E, wheat, potato, beats, etc.) then break that block it will also break the farmable item. In this case, I'm using a piston to move the block back and forth. As well as a dispenser that auto-grows the plant. all you have to do is hold down right-click.