Sha256: a7aaba38df832786bdbf9b22803cce086bbc98634d7c527ef67a5cd6b9c83395
Contents?: true
Size: 637 Bytes
Versions: 4
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true module AnnotateRb class Runner class << self def run(args) new.run(args) end end def initialize end def run(args) _original_args = args.dup config_file_options = ConfigLoader.load_config parsed_options = Parser.parse(args) options = config_file_options.merge(parsed_options) @options = Options.from(options, {}) AnnotateRb::RakeBootstrapper.call(@options) if @options[:command] @options[:command].call(@options) else # TODO raise "Didn't specify a command" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
annotaterb-4.1.1 | lib/annotate_rb/runner.rb |
annotaterb-4.1.0 | lib/annotate_rb/runner.rb |
annotaterb-4.0.0 | lib/annotate_rb/runner.rb |
annotaterb-4.0.0.beta.1 | lib/annotate_rb/runner.rb |