Module: Dry::CLI::Command::ClassMethods Private

Defined in:
lib/dry/cli/command.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Attribute Details

#argumentsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



40
41
42
# File 'lib/dry/cli/command.rb', line 40

def arguments
  @arguments
end

#descriptionObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



32
33
34
# File 'lib/dry/cli/command.rb', line 32

def description
  @description
end

#examplesObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



36
37
38
# File 'lib/dry/cli/command.rb', line 36

def examples
  @examples
end

#optionsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



44
45
46
# File 'lib/dry/cli/command.rb', line 44

def options
  @options
end

#subcommandsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.7.0



48
49
50
# File 'lib/dry/cli/command.rb', line 48

def subcommands
  @subcommands
end