Sha256: 694eea10e3349ea037f4b3d8c5fccc6f8e8b77b55a54830b58490f67c6b04782
Contents?: true
Size: 511 Bytes
Versions: 1
Compression:
Stored size: 511 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 class_option :test, :type => :boolean def copy_configuration_file self.destination_root = File.expand_path("~") unless options.test template(".redmine") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redmine-cli-0.1.1 | lib/redmine-cli/generators/install.rb |