Class: BranchIOCLI::Configuration::ValidateOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/branch_io_cli/configuration/validate_options.rb

Class Method Summary collapse

Class Method Details

.available_optionsObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/branch_io_cli/configuration/validate_options.rb', line 5

def available_options
  [
    Option.new(
      name: :domains,
      description: "Comma-separated list of domains to validate (Branch domains or non-Branch domains)",
      type: Array,
      example: "example.com,www.example.com",
      aliases: "-D",
      default_value: []
    ),
    Option.new(
      name: :xcodeproj,
      description: "Path to an Xcode project to update",
      type: String,
      example: "MyProject.xcodeproj"
    ),
    Option.new(
      name: :target,
      description: "Name of a target to validate in the Xcode project",
      type: String,
      example: "MyAppTarget"
    ),
    Option.new(
      name: :configurations,
      description: "Comma-separated list of configurations to validate (default: all)",
      type: Array,
      example: "Debug,Release"
    )
  ]
end