Sha256: ba154e1303667a2466a0624f4ed92b730a5257775db8e2627ac25bea54b8a88f

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

require 'thor/group'
require 'pathname'

module Redmine::Cli::Generators
  class Install < Thor::Group
    include Thor::Actions

    def self.source_root
      File.dirname(__FILE__)
    end

    argument :url,      :type => :string
    argument :username, :type => :string
    argument :password, :type => :string
    def copy_configuration_file
      self.destination_root = File.expand_path("~")
      template(".redmine")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine-cli-0.1.0 lib/redmine-cli/generators/install.rb