Sha256: 102f6d1f27b22b9f854c4df6541fe5f50172d7491b29627aa1e1d21a1d00b1fa
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
require 'thor' require 'fileutils' class Cli < Thor include Thor::Actions default_task :gems desc 'gems [GEMFILE_PATH]', "Write installed gems' versions to Gemfile" def gems(gemfile_path = 'Gemfile') gemfile_path = File.expand_path(gemfile_path) Freezer.new(gemfile_path).overwrite_gemfile end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
frozen_gems-0.0.1 | lib/frozen_gems/cli.rb |