Package com.alibaba.antx.util.cli

Examples of com.alibaba.antx.util.cli.OptionBuilder.withLongOpt()


    public CLIManager() {
        OptionBuilder builder = new OptionBuilder();

        options = new Options();

        options.addOption(builder.withLongOpt("help").withDescription("��ʾ������Ϣ").create(OPT_HELP));

        options.addOption(builder.withLongOpt("include-descriptors").hasArg().withDescription(
                "������Щ���������ļ������磺conf/auto-config.xml����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("exclude-descriptors").hasArg().withDescription(
View Full Code Here


        options = new Options();

        options.addOption(builder.withLongOpt("help").withDescription("��ʾ������Ϣ").create(OPT_HELP));

        options.addOption(builder.withLongOpt("include-descriptors").hasArg().withDescription(
                "������Щ���������ļ������磺conf/auto-config.xml����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("exclude-descriptors").hasArg().withDescription(
                "�ų���Щ���������ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_DESCRIPTORS));

 
View Full Code Here

        options.addOption(builder.withLongOpt("help").withDescription("��ʾ������Ϣ").create(OPT_HELP));

        options.addOption(builder.withLongOpt("include-descriptors").hasArg().withDescription(
                "������Щ���������ļ������磺conf/auto-config.xml����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("exclude-descriptors").hasArg().withDescription(
                "�ų���Щ���������ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("include-packages").hasArg().withDescription(
                "������Щ����ļ������磺target/*.war����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_PACKAGES));

 
View Full Code Here

                "������Щ���������ļ������磺conf/auto-config.xml����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("exclude-descriptors").hasArg().withDescription(
                "�ų���Щ���������ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("include-packages").hasArg().withDescription(
                "������Щ����ļ������磺target/*.war����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_PACKAGES));

        options.addOption(builder.withLongOpt("exclude-packages").hasArg().withDescription(
                "�ų���Щ����ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_PACKAGES));

 
View Full Code Here

                "�ų���Щ���������ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_DESCRIPTORS));

        options.addOption(builder.withLongOpt("include-packages").hasArg().withDescription(
                "������Щ����ļ������磺target/*.war����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_PACKAGES));

        options.addOption(builder.withLongOpt("exclude-packages").hasArg().withDescription(
                "�ų���Щ����ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_PACKAGES));

        options.addOption(builder.withLongOpt("interactive").hasOptionalArg().withDescription(
                "����ģʽ��auto|on|off��Ĭ��Ϊauto���޲�����ʾon").create(OPT_INTERACTIVE_MODE));

View Full Code Here

                "������Щ����ļ������磺target/*.war����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_INCLUDE_PACKAGES));

        options.addOption(builder.withLongOpt("exclude-packages").hasArg().withDescription(
                "�ų���Щ����ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_PACKAGES));

        options.addOption(builder.withLongOpt("interactive").hasOptionalArg().withDescription(
                "����ģʽ��auto|on|off��Ĭ��Ϊauto���޲�����ʾon").create(OPT_INTERACTIVE_MODE));

        options.addOption(builder.withLongOpt("non-interactive").withDescription("�ǽ���ģʽ���൱��--interactive=off").create(
                OPT_NON_INTERACTIVE_MODE));

View Full Code Here

                "�ų���Щ����ļ�����ʹ��*��**��?ͨ��������ж���ö��ŷָ�").create(OPT_EXCLUDE_PACKAGES));

        options.addOption(builder.withLongOpt("interactive").hasOptionalArg().withDescription(
                "����ģʽ��auto|on|off��Ĭ��Ϊauto���޲�����ʾon").create(OPT_INTERACTIVE_MODE));

        options.addOption(builder.withLongOpt("non-interactive").withDescription("�ǽ���ģʽ���൱��--interactive=off").create(
                OPT_NON_INTERACTIVE_MODE));

        options.addOption(builder.withLongOpt("gui").withDescription("ͼ���û����棨����ģʽ��").create(OPT_GUI_MODE));

        options.addOption(builder.withLongOpt("text").withDescription("�ı��û����棨����ģʽ��").create(OPT_TEXT_MODE));
View Full Code Here

                "����ģʽ��auto|on|off��Ĭ��Ϊauto���޲�����ʾon").create(OPT_INTERACTIVE_MODE));

        options.addOption(builder.withLongOpt("non-interactive").withDescription("�ǽ���ģʽ���൱��--interactive=off").create(
                OPT_NON_INTERACTIVE_MODE));

        options.addOption(builder.withLongOpt("gui").withDescription("ͼ���û����棨����ģʽ��").create(OPT_GUI_MODE));

        options.addOption(builder.withLongOpt("text").withDescription("�ı��û����棨����ģʽ��").create(OPT_TEXT_MODE));

        options.addOption(builder.withLongOpt("verbose").withDescription("��ʾ������Ϣ").create(OPT_VERBOSE));
View Full Code Here

        options.addOption(builder.withLongOpt("non-interactive").withDescription("�ǽ���ģʽ���൱��--interactive=off").create(
                OPT_NON_INTERACTIVE_MODE));

        options.addOption(builder.withLongOpt("gui").withDescription("ͼ���û����棨����ģʽ��").create(OPT_GUI_MODE));

        options.addOption(builder.withLongOpt("text").withDescription("�ı��û����棨����ģʽ��").create(OPT_TEXT_MODE));

        options.addOption(builder.withLongOpt("verbose").withDescription("��ʾ������Ϣ").create(OPT_VERBOSE));

        options.addOption(builder.withLongOpt("charset").hasArg().withDescription("����/��������ַ���").create(OPT_CHARSET));
View Full Code Here

        options.addOption(builder.withLongOpt("gui").withDescription("ͼ���û����棨����ģʽ��").create(OPT_GUI_MODE));

        options.addOption(builder.withLongOpt("text").withDescription("�ı��û����棨����ģʽ��").create(OPT_TEXT_MODE));

        options.addOption(builder.withLongOpt("verbose").withDescription("��ʾ������Ϣ").create(OPT_VERBOSE));

        options.addOption(builder.withLongOpt("charset").hasArg().withDescription("����/��������ַ���").create(OPT_CHARSET));

        options.addOption(builder.withLongOpt("userprop").hasArg().withDescription("�û������ļ�")
                .create(OPT_USER_PROPERTIES));
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.