Sha256: 6ef4f46fff99fe0731d0cfb0225d8b72489a56201df968b9430b748487cdaf36

Contents?: true

Size: 374 Bytes

Versions: 9

Compression:

Stored size: 374 Bytes

Contents

module Roro

  class CLI < Thor
    
    no_commands do 
          
      def config_std_out_true
        file = 'config/boot.rb'
        line = "$stdout.sync = true\n\n"
        prepend_to_file(file, line, force: true)
      end 
      
      def gitignore_sensitive_files
        append_to_file ".gitignore", "\nroro/**/*.env\nroro/**/*.key"
      end
    end
  end 
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
roro-0.3.17 lib/roro/cli/base/insertions.rb
roro-0.3.16 lib/roro/cli/base/insertions.rb
roro-0.3.14 lib/roro/cli/base/insertions.rb
roro-0.3.13 lib/roro/cli/base/insertions.rb
roro-0.3.12 lib/roro/cli/base/insertions.rb
roro-0.3.9 lib/roro/cli/base/insertions.rb
roro-0.3.8 lib/roro/cli/base/insertions.rb
roro-0.3.7 lib/roro/cli/base/insertions.rb
roro-0.3.6 lib/roro/cli/base/insertions.rb