mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 23:03:34 +02:00
Add a "shell" pseudo-command to nomulus tool
Add the "shell" command which lets you run multiple other command in a single session, sparing you the initialization costs for all but the first of them. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188712815
This commit is contained in:
parent
64986442bc
commit
f1c29633fb
6 changed files with 256 additions and 35 deletions
|
@ -132,6 +132,8 @@ public final class RegistryTool {
|
|||
|
||||
public static void main(String[] args) throws Exception {
|
||||
RegistryToolEnvironment.parseFromArgs(args).setup();
|
||||
new RegistryCli().run("nomulus", args, COMMAND_MAP);
|
||||
try (RegistryCli cli = new RegistryCli("nomulus", COMMAND_MAP)) {
|
||||
cli.run(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue