Sha256: 703218ac5a8ad9d6b7717cb6d55972a07ac5868d5d2c127dd5575ab4d3da89fa
Contents?: true
Size: 748 Bytes
Versions: 45
Compression:
Stored size: 748 Bytes
Contents
module Ufo class Network::Init < Thor::Group include Thor::Actions include Network::Helper add_runtime_options! # force, pretend, quiet, skip options # https://github.com/erikhuda/thor/blob/master/lib/thor/actions.rb#L49 # Interesting, when defining the options in this class it screws up the ufo balance -h menu Network.cli_options.each do |o| class_option *o end def self.source_paths [File.expand_path("../../../template/.ufo/settings/network", __FILE__)] end def set_network_options configure_network_settings end def starter_files filename = @options[:filename] || "default" template "default.yml", ".ufo/settings/network/#{filename}.yml" end end end
Version data entries
45 entries across 45 versions & 1 rubygems