Module: Lich::Main::ArgvOptions
- Defined in:
- documented/main/argv_options.rb
Overview
Module for processing command line arguments This module handles the parsing and validation of command line options.
Defined Under Namespace
Modules: GameConnection, OptionParser, SideEffects
Class Method Summary collapse
-
.process_argv ⇒ Hash
Processes command line arguments and applies necessary configurations.
Class Method Details
.process_argv ⇒ Hash
Processes command line arguments and applies necessary configurations.
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'documented/main/argv_options.rb', line 478 def self.process_argv # Step 1: Clean launcher.exe ARGV.delete_if { |arg| arg =~ /launcher\.exe/i } # Step 2: Handle early-exit CLI operations (now in lib/common/cli/cli_orchestration.rb) Lich::Common::CLI::CLIOrchestration.execute # Step 3: Parse normal options and build @argv_options = ArgvOptions::OptionParser.execute # Step 4: Apply side effects and handle special cases = ArgvOptions::SideEffects.execute() # Step 5: Handle game connection configuration = ArgvOptions::GameConnection.execute() end |