Method: Steep::CLI#process_interface

Defined in:
lib/steep/cli.rb

#process_interfaceObject



240
241
242
243
244
245
246
247
248
249
250
# File 'lib/steep/cli.rb', line 240

def process_interface
  with_signature_options do |signature_options|
    OptionParser.new do |opts|
      handle_dir_options opts, signature_options
    end.parse!(argv)

    Drivers::PrintInterface.new(type_name: argv.first, signature_dirs: signature_options.paths, stdout: stdout, stderr: stderr).run

    0
  end
end