Manifest provider for picocli which takes the info from the packaged manifest.
To use build your own provider by extending AbstractManifestVersionProvider:
public class MyVersionProvider extends AbstractManifestVersionProvider {
public MyVersionProvider() {
super("Project implementation name");
}
}
All it requires is the project implementation name as it appears on the manifest. Usually this is the Maven project name.
Then it can be added to any picocli command:
@Command(description = "Menu command" versionProvider = ManifestVersionProvider.class)
public class Menu
The documentation site is actually a Maven site, and its sources are included in the project. If required it can be generated by using the following Maven command:
mvn verify site
The verify phase is required, otherwise some of the reports won't be generated.
Any kind of help with the project will be well received, and there are two main ways to give such help:
- Reporting errors and asking for extensions through the issues management
- or forking the repository and extending the project
Issues are managed at the GitHub project issues tracker, where any Github user may report bugs or ask for new features.
If you wish to fork or modify the code, visit the GitHub project page, where the latest versions are always kept. Check the 'master' branch for the latest release, and the 'develop' for the current, and stable, development version.
The project has been released under the MIT License.