view src/main/java/org/icedrobot/ika/runtime/scm/GITCommand.java @ 37:5463492cd2c9

Add new init plugin, also remove old unused plugins.
author Mario Torre <neugens.limasoftware@gmail.com>
date Thu, 01 Sep 2011 23:16:55 +0200
parents 3b0d6002605a
children 987433a90b52
line wrap: on
line source

/*
 * IKA - IcedRobot Kiosk Application
 * Copyright (C) 2011  IcedRobot team
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.icedrobot.ika.runtime.scm;

import org.icedrobot.ika.runtime.RuntimeCommand;

public class GITCommand extends RuntimeCommand {
    public GITCommand (String name, String subcommand, String... arguments) {
        super("git " + subcommand + " (" + name + ")", arguments);
        this.commandLine.add(0, subcommand);
        this.commandLine.add(0, "git");
    }
}