Examples of help()


Examples of org.jboss.forge.shell.plugins.SetupCommand.help()

               commandMeta.setSetup(true);
               commandMeta.setName("setup");

               // favor help text from this annotation over others
               SetupCommand def = Annotations.getAnnotation(method, SetupCommand.class);
               if ((def.help() != null) && !def.help().trim().isEmpty())
               {
                  commandMeta.setHelp(def.help());
               }
            }
View Full Code Here

Examples of org.jboss.forge.shell.plugins.SetupCommand.help()

               // favor help text from this annotation over others
               SetupCommand def = Annotations.getAnnotation(method, SetupCommand.class);
               if ((def.help() != null) && !def.help().trim().isEmpty())
               {
                  commandMeta.setHelp(def.help());
               }
            }

            /*
             * We don't want to do this if it is a setup command.
View Full Code Here

Examples of org.jboss.forge.shell.plugins.SetupCommand.help()

               commandMeta.setSetup(true);
               commandMeta.setName("setup");

               // favor help text from this annotation over others
               SetupCommand def = Annotations.getAnnotation(method, SetupCommand.class);
               if ((def.help() != null) && !def.help().trim().isEmpty())
               {
                  commandMeta.setHelp(def.help());
               }
            }
View Full Code Here

Examples of org.jboss.forge.shell.plugins.SetupCommand.help()

               commandMeta.setSetup(true);
               commandMeta.setName("setup");

               // favor help text from this annotation over others
               SetupCommand def = Annotations.getAnnotation(method, SetupCommand.class);
               if ((def.help() != null) && !def.help().trim().isEmpty())
               {
                  commandMeta.setHelp(def.help());
               }
            }
View Full Code Here

Examples of org.jboss.forge.shell.plugins.SetupCommand.help()

               // favor help text from this annotation over others
               SetupCommand def = Annotations.getAnnotation(method, SetupCommand.class);
               if ((def.help() != null) && !def.help().trim().isEmpty())
               {
                  commandMeta.setHelp(def.help());
               }
            }

            /*
             * We don't want to do this if it is a setup command.
View Full Code Here

Examples of org.jnode.shell.help.Help.help()

            Help cmdHelp = HelpFactory.getHelpFactory().getHelp(alias, cmdInfo);
            if (cmdHelp == null) {
                err.format(err_no_help, alias);
                exit(1);
            }
            cmdHelp.help(out);
            otherAliases(shell.getAliasManager(), alias, cmdInfo.getCommandClass().getName(), out);
        } catch (HelpException ex) {
            err.format(err_help_ex, alias, ex.getLocalizedMessage());
            throw ex;
        } catch (ShellException ex) {
View Full Code Here

Examples of org.springframework.roo.shell.CliOption.help()

                                help.append(lastOptionKey).append(": ")
                                        .append("No help available");
                            }
                            else {
                                help.append(lastOptionKey).append(": ")
                                        .append(option.help());
                            }
                            if (option.specifiedDefaultValue().equals(
                                    option.unspecifiedDefaultValue())) {
                                if (option.specifiedDefaultValue().equals(
                                        NULL)) {
View Full Code Here

Examples of org.springframework.roo.shell.CliOption.help()

                                            key = "[default]";
                                        }
                                    }

                                    final StringBuilder help = new StringBuilder();
                                    if ("".equals(option.help())) {
                                        help.append("No help available");
                                    }
                                    else {
                                        help.append(option.help());
                                    }
View Full Code Here

Examples of org.springframework.roo.shell.CliOption.help()

                                    final StringBuilder help = new StringBuilder();
                                    if ("".equals(option.help())) {
                                        help.append("No help available");
                                    }
                                    else {
                                        help.append(option.help());
                                    }
                                    if (option.specifiedDefaultValue().equals(
                                            option.unspecifiedDefaultValue())) {
                                        if (option.specifiedDefaultValue()
                                                .equals(NULL)) {
View Full Code Here

Examples of org.springframework.roo.shell.CliOption.help()

                                    sb.append(" Keyword:                  ")
                                            .append(key).append(LINE_SEPARATOR);
                                }

                                sb.append("   Help:                   ")
                                        .append(cliOption.help())
                                        .append(LINE_SEPARATOR);
                                sb.append("   Mandatory:              ")
                                        .append(cliOption.mandatory())
                                        .append(LINE_SEPARATOR);
                                sb.append("   Default if specified:   '")
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.