Sha256: 12433c7f5248249a434a24921eb022abc2523712487bf303d5ce36974061cb9e

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

require 'fileutils'

module Jack
  class Config < Thor
    class Sort < Transmit # for the local_config_path method
      include Util

      def initialize(options={})
        super
        @options = options
      end

      def run
        YamlFormatter.new.process("#{@root}/#{local_config_path}")
        UI.say "Reformatted the local config to a sorted yaml format at #{local_config_path}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jack-eb-0.3.0 lib/jack/config/sort.rb