<commit_before>#!/usr/bin/env ruby

require 'main'
require 'fileutils'

class AssetCopier
  def initialize(from, to)
    @from = from
    @to = to
  end

  def copy(from, to='')
    FileUtils.cp_r(Dir[File.join(@from, from)], File.join(@to, to))
  end
end




Main {
  mode "app" do
    option("name"){
      required
      argument :required
      description "Name of your app"
    }
    option("target") {
      required
      argument :required<commit_msg>change creating an app from  to<commit_after>#!/usr/bin/env ruby

require 'main'
require 'fileutils'

class AssetCopier
  def initialize(from, to)
    @from = from
    @to = to
  end

  def copy(from, to='')
    FileUtils.cp_r(Dir[File.join(@from, from)], File.join(@to, to))
  end
end




Main {
  mode "gen app" do
    option("name"){
      required
      argument :required
      description "Name of your app"
    }
    option("target") {
      required
      argument :required
{'fraction_non_alphanumeric': 0.12526539278131635, 'fraction_numerical': 0.0, 'mean_word_length': 2.7125984251968505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7267710', 'n_tokens_mistral': 330, 'n_tokens_neox': 311, 'n_words': 89}