Implement sop version --sop-spec

This commit is contained in:
Paul Schaub 2023-04-14 14:41:37 +02:00
parent dfce1ad6bb
commit f49c16e4c5
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
4 changed files with 45 additions and 0 deletions

View file

@ -22,6 +22,9 @@ public class VersionCmd extends AbstractSopCmd {
@CommandLine.Option(names = "--backend")
boolean backend;
@CommandLine.Option(names = "--sop-spec")
boolean sopSpec;
}
@ -45,5 +48,10 @@ public class VersionCmd extends AbstractSopCmd {
Print.outln(version.getBackendVersion());
return;
}
if (exclusive.sopSpec) {
Print.outln(version.getSopSpecVersion());
return;
}
}
}