<commit_before>package main;

import (
    "github.com/VividCortex/godaemon"
)

func main() {
    godaemon.MakeDaemon(&godaemon.DaemonAttr{})
}<commit_msg>Binning daemon stuff for now, lets just focus on getting stuff doing it's job first<commit_after>package main;

import (
    "flag"
    "os"
    "path/filepath"
)

func main() {
    // Gets the current executable path for use a cfgfile path
    cwd, err := os.Getwd()

    // Bail out if the executable can not be found
    if err != nil {
        panic("Can not find current working directory!")
    }

    // Default config path
    config_path := filepath.Join(cwd, "leader-1.json")

    // Allow setting of the cfg file to load stuff from
    flag.StringVar(&config_path, "cfg", config_path, "sets the config file")

    flag.Parse()
}
{'fraction_non_alphanumeric': 0.10653753026634383, 'fraction_numerical': 0.0012106537530266344, 'mean_word_length': 2.6271929824561404, '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': '3323602', 'n_tokens_mistral': 276, 'n_tokens_neox': 254, 'n_words': 84}