jewelcli/src/main/java/com/lexicalscope/jewel/cli/CliFactory.java
public static <O> Cli<O> createCliUsingInstance(final O options) throws InvalidOptionSpecificationException
    {
        return new CliInstanceImpl<O>(options);
    }
public static <O> Cli<O> createCliUsingInstance(final O options) throws InvalidOptionSpecificationException
    {
        return new CliInstanceImpl<O>(options);
    }
public static < O > Cli < O > createCliUsingInstance ( final O options ) throws InvalidOptionSpecificationException { return new CliInstanceImpl < O > ( options ) ; }
Construct a Cli from an annotated class

@param <O>
The type of the class used to present the arguments
@param options
The annotated class

@return A Cli configured to configure the options

@throws ArgumentValidationException the arguments do not meet the CLI specification
@throws InvalidOptionSpecificationException the CLI specification is not valid
Construct a Cli from an annotated class