Sha256: 4930ac97b3379ad4ced7b08ffdd177b410e9a76446d2b5cd26f33d7b06752807
Contents?: true
Size: 498 Bytes
Versions: 3
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true require 'thor' module MBS class CLI < Thor RUBOCOP_YML = <<~YML inherit_gem: mbs: rubocop.yml inherit_from: - .rubocop_todo.yml - .rubocop.local.yml YML desc 'rubocop init', 'Rubocop related commands' def rubocop(*) File.open('.rubocop.yml', 'w') do |file| file.puts RUBOCOP_YML end File.open('.rubocop_todo.yml', 'w') {} File.open('.rubocop.local.yml', 'w') {} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mbs-0.0.3 | lib/mbs/cli.rb |
mbs-0.0.2 | lib/mbs/cli.rb |
mbs-0.0.1 | lib/mbs/cli.rb |