sig/cli.rbs in rbs-2.6.0 vs sig/cli.rbs in rbs-2.7.0.pre.1

- old
+ new

@@ -24,9 +24,17 @@ end attr_reader stdout: _IO attr_reader stderr: _IO + # The copy of `args` passed to `run`. + # + # `OptionParser#order!` mutates given `arg`, the `run_***` actions should read `original_args` to get the original commandline arguments. + # + # Returns `nil` if called before `#run` call. + # + attr_reader original_args: Array[String] + def initialize: (stdout: IO, stderr: IO) -> void COMMANDS: Array[Symbol] def library_parse: (OptionParser, options: LibraryOptions) -> void