Sha256: 75c7017e8d1f682422028359695c7726a9420e6896c6d0d31a76c46dec304c65
Contents?: true
Size: 406 Bytes
Versions: 5
Compression:
Stored size: 406 Bytes
Contents
require 'thor' module DockerFluentLogger class CLI < Thor desc 'install', 'Setup programs' def install current_dir = Pathname(File.dirname(__FILE__)) src_path = current_dir.join('generator', 'templates', 'lograge.rb') dest_path = Pathname('config').join('initializers', 'lograge.rb') FileUtils.cp(src_path, dest_path) puts "create #{dest_path}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems