def _plant(self, plant, amount): cmd = PlantCommand(self.sms) cmd.plant = plant cmd.amount = amount return cmd