Sha256: 8820ae0008ac2879fa49ef5e17920fb22a82057b3a1a2e1f34b75af811c8d5e5
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
require 'awesome_print' module Gemfiler class CLI < Thor desc 'file', 'Organizes your Gemfile.' def file(gemfile='Gemfile') gemfile = "#{Dir.pwd}/#{gemfile}" cabinet = Gemfiler::Cabinet.new(gemfile) cabinet.collect! filer = Gemfiler::Filer.new(cabinet) filer.group filer.alphabetize output = Gemfiler::Output.new(filer) output.write(gemfile) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemfiler-0.1.1 | lib/Gemfiler/cli.rb |