mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
added first drop of list-repositories command
This commit is contained in:
@@ -155,8 +155,18 @@ public class App
|
||||
session = createSession();
|
||||
}
|
||||
|
||||
subcommand.init(input, output, i18n, session);
|
||||
subcommand.run(arguments);
|
||||
try
|
||||
{
|
||||
subcommand.init(input, output, i18n, session);
|
||||
subcommand.run(arguments);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (session != null)
|
||||
{
|
||||
session.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,7 +232,6 @@ public class App
|
||||
@Argument(
|
||||
index = 0,
|
||||
metaVar = "metaVar_command",
|
||||
required = true,
|
||||
handler = SubCommandHandler.class
|
||||
)
|
||||
private SubCommand subcommand;
|
||||
|
||||
Reference in New Issue
Block a user