<commit_before>require 'brick/cli'

class Brick::CLI::Build < Brick::CLI
  banner 'brick build'
  
  option :cache, 
    :long  => "--[no-]cache",
    :default => false,
    :boolean => true,
    :description => "Do not use cache when building the image."
    
    def run
      #::Brick::CLI::logger.info "hello, #{banner}, option[:no_cache]=#{::Brick::Config.configuration}"
      project_name = ::Brick::Config[:project]
      
      config_file = ::Brick::Config[:config_file]
      
      project_dir = File.dirname(config_file)
      
      no_cache = !::Brick::Config[:cache]
      
      project = ::Brick::Models::Project.new(project_name,{:config_file => config_file})
      
      project.build_services(no_cache, project_dir)
      
    end
    
end<commit_msg>the default action is to use cache<commit_after>require 'brick/cli'

class Brick::CLI::Build < Brick::CLI
  banner 'brick build'
  
  option :cache, 
    :long  => "--[no-]cache",
    :default => true,
    :boolean => true,
    :description => "Do not use cache when building the image."
    
    def run
      #::Brick::CLI::logger.info "hello, #{banner}, option[:no_cache]=#{::Brick::Config.configuration}"
      project_name = ::Brick::Config[:project]
      
      config_file = ::Brick::Config[:config_file]
      
      project_dir = File.dirname(config_file)
      
      no_cache = !::Brick::Config[:cache]
      
      project = ::Brick::Models::Project.new(project_name,{:config_file => config_file})
      
      project.build_services(no_cache, project_dir)
      
    end
    
end
{'fraction_non_alphanumeric': 0.15070242656449553, 'fraction_numerical': 0.0, 'mean_word_length': 2.9670886075949365, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4701780', 'n_tokens_mistral': 515, 'n_tokens_neox': 512, 'n_words': 97}