Sha256: 015c8e1bf0f7b57777747b5da80c7a269b8aee02270cce47f4b6540182c13cb0
Contents?: true
Size: 720 Bytes
Versions: 2
Compression:
Stored size: 720 Bytes
Contents
require 'thor' require 'thor/group' require 'blazing/base' module Blazing module CLI class Create < Thor::Group desc 'create a blazing config file' include Thor::Actions include Blazing::Base def self.source_root File.dirname(__FILE__) end def create_blazing_dir empty_directory Blazing::DIRECTORY end def create_config_file template 'templates/blazing.tt', Blazing::CONFIGURATION_FILE log :info, "Blazing config file has been created in #{Blazing::CONFIGURATION_FILE} with a default remote." log :info, "Check the config and then setup your remote with blazing setup REMOTE" report end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blazing-0.0.9 | lib/blazing/cli/create.rb |
blazing-0.0.8 | lib/blazing/cli/create.rb |