Sha256: 38942c50e1a9e0de88194cfe043953025963ff1a3ea4404bd1097ea60abef8f6

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

module Fimon
  class Generator < Thor::Group
    include Thor::Actions

    attr_accessor :options

    def self.source_root
      File.join(__dir__, "templates")
    end

    def create_config_file
      copy_file "fimon.yml", options[:config]
    end

    no_commands do
      # Add helper methods here
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fimon-0.0.1 lib/fimon/generator.rb
fimon-0.0.0 lib/fimon/generator.rb