Sha256: 91834037ebe66f08ffd0a683964dda1db6df0caf91643da95075553180627b90

Contents?: true

Size: 605 Bytes

Versions: 15

Compression:

Stored size: 605 Bytes

Contents

# coding: utf-8

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::Options
  include Fig::Command::Action
  include Fig::Command::Action::Role::HasNoSubAction

  def options()
    return %w<--options>
  end

  def execute_immediately_after_command_line_parse?
    return true
  end

  def configure(options)
    @options_message = options.options_message
  end

  def execute()
    puts "Fig options:\n\n"
    puts @options_message

    return EXIT_SUCCESS
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fig-1.27.10 lib/fig/command/action/options.rb
fig-1.27.8 lib/fig/command/action/options.rb
fig-1.27.5 lib/fig/command/action/options.rb
fig-1.27.4 lib/fig/command/action/options.rb
fig-1.27.3 lib/fig/command/action/options.rb
fig-1.27.0 lib/fig/command/action/options.rb
fig-1.26.1.beta.1 lib/fig/command/action/options.rb
fig-1.26.0 lib/fig/command/action/options.rb
fig-1.25.1.beta.1 lib/fig/command/action/options.rb
fig-1.25.0 lib/fig/command/action/options.rb
fig-1.24.1.beta.3 lib/fig/command/action/options.rb
fig-1.24.1.beta.2 lib/fig/command/action/options.rb
fig-1.24.1.beta.1 lib/fig/command/action/options.rb
fig-1.24.0 lib/fig/command/action/options.rb
fig-1.23.1.beta.1 lib/fig/command/action/options.rb