Sha256: f6f7fa49d6d59c6923ea0ee304a13bd344c6d28802d062b557cb9f5b8480b947

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

require 'thor'

class ENVied
  class Cli < Thor
    include Thor::Actions
    source_root File.expand_path('../templates', __FILE__)

    desc "init", "Generate a default Envfile in the current working directory."
    def init
      puts "Writing new Envfile to #{File.expand_path('Envfile')}"
      template("Envfile.tt")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
envied-0.6.0 lib/envied/cli.rb