Sha256: e46acadb0d1f6de87a445e94df25e663d5d009cf269fbe7831ddf12324818142
Contents?: true
Size: 345 Bytes
Versions: 30
Compression:
Stored size: 345 Bytes
Contents
require_relative '../../commands' RubyLeiningen::Commands.define_custom_command("cljfmt") do |config, opts| mode = opts[:mode] || :check paths = opts[:paths] || [] config.on_command_builder do |command| command = command.with_subcommand(mode.to_s) paths.inject(command) do |c, path| c.with_argument(path) end end end
Version data entries
30 entries across 30 versions & 1 rubygems