Sha256: 4104d4f6c421d4d2257abe1740828f3a377899f696fc8230383cb91b450d58d0

Contents?: true

Size: 731 Bytes

Versions: 16

Compression:

Stored size: 731 Bytes

Contents

  <%= $terminal.color "NAME", :bold %>:

    <%= @name %>
<% if @syntax -%>

  <%= $terminal.color "SYNOPSIS", :bold %>:

    <%= @syntax -%>

<% end -%>

  <%= $terminal.color "DESCRIPTION", :bold %>:

    <%= Commander::HelpFormatter.indent 4, (@description || @summary || 'No description.') -%>

<% unless @examples.empty? -%>

  <%= $terminal.color "EXAMPLES", :bold %>:
	<% for description, command in @examples -%>

    # <%= description %>
    <%= command %>
	<% end -%>
<% end -%>
<% unless @options.empty? -%>

  <%= $terminal.color "OPTIONS", :bold %>:
	<% for option in @options -%>

    <%= option[:switches].join ', ' %> 
        <%= Commander::HelpFormatter.indent 8, option[:description] %>
	<% end -%>
<% end -%>

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
murano-cli-commander-4.4.10 lib/murano-cli-commander/help_formatters/terminal/command_help.erb
commander-4.4.6 lib/commander/help_formatters/terminal/command_help.erb
commander-4.4.5 lib/commander/help_formatters/terminal/command_help.erb
commander-fastlane-4.4.6 lib/commander/help_formatters/terminal/command_help.erb
commander-4.4.4 lib/commander/help_formatters/terminal/command_help.erb
commander-fastlane-4.4.5 lib/commander/help_formatters/terminal/command_help.erb
commander-fastlane-4.4.4 lib/commander/help_formatters/terminal/command_help.erb
commander-fastlane-4.4.3 lib/commander/help_formatters/terminal/command_help.erb
commander-4.4.3 lib/commander/help_formatters/terminal/command_help.erb
commander-4.4.2 lib/commander/help_formatters/terminal/command_help.erb
commander-4.4.1 lib/commander/help_formatters/terminal/command_help.erb
simple_commander-0.1.0 lib/simple_commander/help_formatters/terminal/command_help.erb
simple_commander-0.0.1 lib/simple_commander/help_formatters/terminal/command_help.erb
commander-4.4.0 lib/commander/help_formatters/terminal/command_help.erb
commander-4.3.8 lib/commander/help_formatters/terminal/command_help.erb
commander-4.3.7 lib/commander/help_formatters/terminal/command_help.erb