Sha256: 3e92ef28acec48da814caaf139645e3a5c5a80bba48c293c93435ab99ef89e43

Contents?: true

Size: 362 Bytes

Versions: 5

Compression:

Stored size: 362 Bytes

Contents

# rubocop:disable Naming/FileName
# frozen_string_literal: true

command :'lint-prepare' do
  action do |context|
    require 'schmersion/repo'
    require 'schmersion/linter'
    repo = Schmersion::Repo.new(FileUtils.pwd)
    linter = Schmersion::Linter.new(repo)
    linter.prepare(context.args[0], context.args[1])
  end
end

# rubocop:enable Naming/FileName

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
schmersion-1.1.3 cli/lint-prepare.rb
schmersion-1.1.2 cli/lint-prepare.rb
schmersion-1.1.0 cli/lint-prepare.rb
schmersion-1.0.1 cli/lint-prepare.rb
schmersion-1.0.0 cli/lint-prepare.rb