Examples of CliSpecification


Examples of com.lexicalscope.jewel.cli.specification.CliSpecification

    @CommandLineInterface(application = "MyApplication") public interface ApplicationName {

    }

    @Test public void testApplicationName() {
        final CliSpecification specification = new CliInterfaceImpl<ApplicationName>(ApplicationName.class).getSpecification();
        assertEquals("MyApplication", specification.getApplicationName());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.