Display the help text for the app.

@return  void

@since   12.1
436503
public function help()
	{
		$this->out();
		$this->out('Joomla Framework Changelog');
		$this->out('-------------------------');
		$this->out();
		$this->out('Usage: ./changelog [-l]');
		$this->out();
		$this->out('  -l  Build the changelog for the latest version only.');
		$this->out('  -d  Debug mode. Test one issue.');
		$this->out();
		$this->out('Output is sent to docs/changelog.html');
		$this->out();
	}
947024
protected function showGeneralHelp()
    {
        $this->output->writeln("<yellow>Available commands:</yellow>");

        $longestName = 0;
        foreach ($this->app->getCommands() as $command) {
            $strlen = strlen($command->getName());
            if ($strlen > $longestName) {
                $longestName = $strlen;
            }
        }

        foreach ($this->app->getCommands() as $command) {
            $name = $command->getName();
            $this->output->write(str_pad("  <green>{$name}</green>", $longestName + 22, ' ', STR_PAD_RIGHT));
            $this->output->write("{$command->getDescription()}");
            $this->output->newline();
        }
    }
285378
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $tag = $this->isSensitive()
            ? $this->getSensitiveTag()
            : $this->getInsensitiveTag();

        $tag->open();

        $icon_span = new SwatHtmlTag('span');

        if ($this->isSensitive()) {
            $icon_span->class = 'swat-tool-link-icon';
        } else {
            $icon_span->class =
                'swat-tool-link-icon swat-tool-link-icon-insensitive';
        }

        $icon_span->setContent('');

        $icon_span->display();

        $title_span = new SwatHtmlTag('span');
        $title_span->class = 'swat-tool-link-title';
        $title_span->setContent($this->title, $this->content_type);
        $title_span->display();

        $tag->close();
    }
1064327
protected function renderActionHelp()
    {
        $action = $this->actions[$this->actionName];
        //puts name of action
        $this->appendLine($this->getColoredString($action->getDescription(), 'green'));
        $this->appendLine('');

        //puts usage hint
        $this->appendLine('Usage:');
        $this->appendLine($this->getColoredString(sprintf(
            '   %s %s [options]',
            $this->dispatcher->getParam('activeTask'),
            $this->dispatcher->getParam('activeAction')
        ), 'dark_gray'));
        $this->appendLine('');

        //puts available options
        $this->appendLine($this->getColoredString('Options:', 'gray'));
        foreach ($action->getOptions() as $option) {
            $this->appendLine($this->getColoredString(sprintf(
                '   --%s     -%s      %s',
                $option->getName(), $option->getShortName(), $option->getDescription()
            ), 'light_green'));
        }
    }
724492
public function help()
	{
		if ($this->type)
		{
			$class = __NAMESPACE__ . '\\Scaffolding\\' . ucfirst($this->type);
			$obj   = new $class($this->output, $this->arguments);

			// Call the help method
			$obj->help();
		}
		else
		{
			$this->output = $this->output->getHelpOutput();
			$this
				->output
				->addOverview(
					'Create a new item scaffold. There are currently no arguments available.
					Type "muse scaffolding help [scaffolding type]" for more details.');
			$this->output->render();
		}
	}
618053
public function panelCommand(): void
    {
        $data = [
            'application version' => '1.2.0',
            'system version'      => '5.2.3',
            'key'                 => 'value ...',
            'a only value message text',
        ];

        Show::panel($data, 'panel show', [
            'borderChar' => '*'
        ]);

        Show::panel($data, 'panel show', [
            'borderChar' => '='
        ]);

        Panel::create([
            'data'        => $data,
            'title'       => 'panel show',
            'titleBorder' => '=',
            'footBorder'  => '=',
        ])->display();
    }
981363
protected function setViewHelpers()
    {
        $this->set('token', $this->app->make('token'));
        $this->set('form', $this->app->make('helper/form'));
        $this->set('ui', $this->app->make('helper/concrete/ui'));
        $this->set('resolverManager', $this->app->make(ResolverManagerInterface::class));
    }
279503
public function display()
    {
        $style = new Style();
        echo PHP_EOL;

        echo $style->setText('Use    : ')
            ->color('fg', Style::COLOR_GREEN)
            ->highlight('fg')
            ->bold()
            ->get();

        echo $style->reset()
            ->setText('php  ' . $this->scriptName . ' [OPTION]...')
            ->highlight('fg')
            ->bold()
            ->get() . PHP_EOL;

        echo $style->reset()
            ->setText('OPTIONS: ')
            ->color('fg', Style::COLOR_GREEN)
            ->bold()
            ->get() . PHP_EOL;

        foreach ($this->arguments as $argument) {
            $line = '  ';

            if (! empty($argument->shortName)) {
                $line .= '-' . $argument->shortName;

                if ($argument->hasValue) {
                    $line .= ' ARG';
                }

                $line .= ',';
            }

            $line = str_pad($line, 10); // add 8 space


            if (! empty($argument->fullName)) {
                $line .= '--' . $argument->fullName;
                if ($argument->hasValue) {
                    $line .= '=ARG';
                }
            }

            $line = $style->reset()
                ->setText(str_pad($line, 40))
                ->bold()
                ->get();
            $line .= $argument->description;

            if ($argument->isMandatory) {
                $line .= $style->reset()
                    ->setText(' - MANDATORY')
                    ->color('fg', Style::COLOR_RED)
                    ->get();
            }

            echo $line, PHP_EOL;
        }

        echo PHP_EOL;
    }
1187480
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        $toolbar_ul = new SwatHtmlTag('ul');
        $toolbar_ul->id = $this->id;
        $toolbar_ul->class = $this->getCSSClassString();

        $toolbar_ul->open();
        $this->displayChildren();
        $toolbar_ul->close();
    }
1115397
protected function _displayHelp($command)
    {
        $format = 'text';
        if (!empty($this->args[0]) && $this->args[0] === 'xml') {
            $format = 'xml';
            $this->_io->setOutputAs(ConsoleOutput::RAW);
        } else {
            $this->_welcome();
        }

        $subcommands = $this->OptionParser->subcommands();
        $command = isset($subcommands[$command]) ? $command : null;

        return $this->out($this->OptionParser->help($command, $format));
    }
911052
public function showSummary()
    {
        foreach ( $this->finalOutputMessageArray as $messageEntry )
        {
            if ( $messageEntry['label'] !== null )
            {
                $this->cli->output( $this->cli->stylize( 'bold', $messageEntry['label'] ) );
            }

            foreach ( $messageEntry['messages'] as $msg )
            {
                $this->cli->output( $msg);
            }
            $this->cli->output();
        }
    }
394312
protected function displayHelpInformation()
	{
		$this->env->sendOutput('PhoxPHP Command Line Interface help.', 'green');
		$this->env->sendOutput('Usage:'. $this->env->addTab() . 'php console [command id] [...arguments]');
		$this->env->sendOutput($this->env->addTab() . 'E.g: ' . 'php console help list-commands' . $this->env->addNewLine());
		$this->env->sendOutput($this->env->addTab() . 'list-runnables: ' . $this->env->addTab() . 'Lists all available runnables id');
		$this->env->sendOutput($this->env->addTab() . 'create-runnable: ' . $this->env->addTab() . 'Creates a new runnable class');
		$this->env->sendOutput($this->env->addTab() . 'list-runnable-commands: ' . 'Lists all commands available in a runnable object');
	}
412874
protected function _help() {
		$help = new Help([
			'request' => $this->request,
			'response' => $this->response,
			'classes' => $this->_classes
		]);
		return $help->run(get_class($this));
	}
77261
def displayHelp(self):
        
        self.outputStream.write(self.linter.help())
        sys.exit(32)
675779
public function help()
    {
        $style = new Eurekon\Style(' *** RUN - HELP ***');
        Eurekon\Out::std($style->color('fg', Eurekon\Style::COLOR_GREEN)->get());
        Eurekon\Out::std('');

        $help = new Eurekon\Help('...', true);
        $help->addArgument('', 'directory', 'Config directory to inspect for config file', true, true);
        $help->addArgument('', 'namespace', 'Config namespace (default: global.database)', true, false);
        $help->addArgument('', 'db', 'Database config name', true, false);
        $help->addArgument('', 'item', 'Config name in config file to generate.', true, false);

        $help->display();
    }
1257570
def help_text(self):
        
        help_text = '\n'.join(sorted(get_commands().keys()))
        help_text = "\nCommands:\n" + help_text
        return help_text
264679
def main_help_text(self, commands_only=False):
        
        if commands_only:
            usage = sorted(get_commands().keys())
        else:
            usage = [
                "",
                "Type '%s help <subcommand>' for help on a specific subcommand." % self.prog_name,
                "",
                "Available subcommands:",
            ]
            commands_dict = collections.defaultdict(lambda: [])
            for name, app in six.iteritems(get_commands()):
                if app == 'pug.crawlnmine':
                    app = 'pug'
                else:
                    app = app.rpartition('.')[-1]
                commands_dict[app].append(name)
            style = color_style()
            for app in sorted(commands_dict.keys()):
                usage.append("")
                usage.append(style.NOTICE("[%s]" % app))
                for name in sorted(commands_dict[app]):
                    usage.append("    %s" % name)
            # Output an extra note if settings are not properly configured
            if self.settings_exception is not None:
                usage.append(style.NOTICE(
                    "Note that only Django core commands are listed "
                    "as settings are not properly configured (error: %s)."
                    % self.settings_exception))

        return '\n'.join(usage)