As suggested by @Rileynull in #236 (comment), the example showing how to get version information from the manifest may be overly convoluted.
TODO: Experiment with this and update the docs if this works as expected.
(Potential example for the manual:
class ManifestBasedVersionProviderWithVariables implements IVersionProvider {
public String[] getVersion() {
String version = getClass().getPackage().getImplementationVersion();
return new String[] { "${COMMAND-FULL-NAME} version " + version };
}
}
As suggested by @Rileynull in #236 (comment), the example showing how to get version information from the manifest may be overly convoluted.
TODO: Experiment with this and update the docs if this works as expected.
(Potential example for the manual: