Sha256: d754bd7b3775a689b40558bf9cedc44c0e1f6b4117d8ea9fd434697139088185

Contents?: true

Size: 785 Bytes

Versions: 27

Compression:

Stored size: 785 Bytes

Contents

module Foobara
  class Command
    include TruncatedInspect

    include Concerns::Description
    include Concerns::Namespace

    include Concerns::InputsType
    include Concerns::ErrorsType
    include Concerns::ResultType

    include Concerns::Inputs
    include Concerns::Errors
    include Concerns::Result

    include Concerns::Runtime
    include Concerns::Callbacks
    include Concerns::StateMachine
    include Concerns::Transactions
    include Concerns::Entities
    include Concerns::Subcommands
    include Concerns::DomainMappers
    include Concerns::Reflection

    attr_reader :raw_inputs

    def initialize(inputs = {})
      @raw_inputs = inputs
      super()
    end
  end

  Command.after_subclass_defined do |subclass|
    Command.all << subclass
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
foobara-0.0.7 projects/command/src/command.rb
foobara-0.0.6 projects/command/src/command.rb
foobara-0.0.5 projects/command/src/command.rb
foobara-0.0.4 projects/command/src/command.rb
foobara-0.0.3 projects/command/src/command.rb
foobara-0.0.2 projects/command/src/command.rb
foobara-0.0.1 projects/command/src/command.rb