Sha256: 93c2c12cb67e8d8d25deefc8aedb84572c91ca6d31f627e2f985273b5c38776b
Contents?: true
Size: 551 Bytes
Versions: 41
Compression:
Stored size: 551 Bytes
Contents
require 'fig/command/action' require 'fig/command/action/role/has_no_sub_action' module Fig; end class Fig::Command; end module Fig::Command::Action; end class Fig::Command::Action::Help include Fig::Command::Action include Fig::Command::Action::Role::HasNoSubAction def options() return %w<--help> end def execute_immediately_after_command_line_parse? return true end def configure(options) @help_message = options.short_help_message end def execute() puts @help_message return EXIT_SUCCESS end end
Version data entries
41 entries across 41 versions & 1 rubygems