// Display changelog and version information Changelog changelog = new Changelog(); System.out.println("Changelog:"); System.out.println(changelog.getChangelog()); }
package com.arcjav.info;
Changelog: // Changelog contents
public static void main(String[] args) { int exitCode = new CommandLine(new InfoCommand()).execute(args); System.exit(exitCode); } } To use the informative feature, simply run the arcjav-info command:
public class UsageExamples { public static void main(String[] args) { // Example 1: Basic usage System.out.println("Basic usage example:"); // Code snippet
import java.util.Properties;
public class ConfigOptions { private Properties properties;