com.github.yin.cli.ClassMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-cli-flags Show documentation
Show all versions of java-cli-flags Show documentation
Easy to use command-line parser, which enables you to
define cmdline flags directly the class they are used in.
The newest version!
package com.github.yin.cli;
import com.google.auto.value.AutoValue;
import javax.annotation.Nullable;
/**
* Stores description and other flag attributes.
* @author yin
*/
@AutoValue
public abstract class ClassMetadata {
public static ClassMetadata create(String className, String desc) {
return new AutoValue_ClassMetadata(className, desc);
}
public abstract String className();
@Nullable public abstract String desc();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy