#19 - Made command in GitCommands methods public again.
This commit is contained in:
@@ -50,23 +50,23 @@ class GitCommands extends TimedCommand {
|
|||||||
@NonNull GitOperations git;
|
@NonNull GitOperations git;
|
||||||
|
|
||||||
@CliCommand("git co train")
|
@CliCommand("git co train")
|
||||||
void checkout(@CliOption(key = "", mandatory = true) Train train) throws Exception {
|
public void checkout(@CliOption(key = "", mandatory = true) Train train) throws Exception {
|
||||||
git.checkout(train);
|
git.checkout(train);
|
||||||
}
|
}
|
||||||
|
|
||||||
@CliCommand("git co")
|
@CliCommand("git co")
|
||||||
void checkout(@CliOption(key = "", mandatory = true) TrainIteration iteration) throws Exception {
|
public void checkout(@CliOption(key = "", mandatory = true) TrainIteration iteration) throws Exception {
|
||||||
git.checkout(iteration);
|
git.checkout(iteration);
|
||||||
}
|
}
|
||||||
|
|
||||||
@CliCommand("git update")
|
@CliCommand("git update")
|
||||||
void update(@CliOption(key = { "", "train" }, mandatory = true) String trainName)
|
public void update(@CliOption(key = { "", "train" }, mandatory = true) String trainName)
|
||||||
throws Exception, InterruptedException {
|
throws Exception, InterruptedException {
|
||||||
git.update(ReleaseTrains.getTrainByName(trainName));
|
git.update(ReleaseTrains.getTrainByName(trainName));
|
||||||
}
|
}
|
||||||
|
|
||||||
@CliCommand("git tags")
|
@CliCommand("git tags")
|
||||||
String tags(@CliOption(key = { "project" }, mandatory = true) String projectName) throws Exception {
|
public String tags(@CliOption(key = { "project" }, mandatory = true) String projectName) throws Exception {
|
||||||
|
|
||||||
Project project = ReleaseTrains.getProjectByName(projectName);
|
Project project = ReleaseTrains.getProjectByName(projectName);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user