<commit_before>package main

import (
	"github.com/tscolari/docode/packages/docode"
	"github.com/tscolari/docode/packages/docodeconfig"

	"flag"
)

func main() {
	docodeFilePath := flag.String("c", "./DocodeFile", "ConfigFile to load")
	argsConfig := fetchConfigFromArgs()

	flag.Parse()

	fileConfig := docodeconfig.NewFromFile(*docodeFilePath)
	config := docodeconfig.MergeConfigurations(argsConfig, fileConfig)
	runner := docode.New(config)
	err := runner.Run()
	if err != nil {
		panic("ERROR: " + err.Error())
	}
}

func fetchConfigFromArgs() docodeconfig.ArgsConfiguration {
	argsConfig := docodeconfig.ArgsConfiguration{}
	argsConfig.SSHKey = flag.String("k", "", "Ssh key path to use")

	return argsConfig
}<commit_msg>Add new argument options to docode:<commit_after>package main

import (
	"github.com/tscolari/docode/packages/docode"
	"github.com/tscolari/docode/packages/docodeconfig"

	"flag"
)

func main() {
	docodeFilePath := flag.String("c", "./DocodeFile", "ConfigFile to load")
	argsConfig := fetchConfigFromArgs()

	flag.Parse()

	fileConfig := docodeconfig.NewFromFile(*docodeFilePath)
	config := docodeconfig.MergeConfigurations(argsConfig, fileConfig)
	runner := docode.New(config)
	err := runner.Run()
	if err != nil {
		panic("ERROR: " + err.Error())
	}
}

func fetchConfigFromArgs() docodeconfig.ArgsConfiguration {
	argsConfig := docodeconfig.ArgsConfiguration{}

	argsConfig.SSHKey = flag.String("k", "", "Ssh key path to use")
	argsConfig.ImageName = flag.String("i", "", "Image name to use")
	argsConfig.ImageTag = flag.String("t", "", "Image tag to use")
	argsConfig.DontPull = flag.Bool("n", false, "Skip pulling the image")

	return argsConfig
}
{'fraction_non_alphanumeric': 0.14779499404052443, 'fraction_numerical': 0.0, 'mean_word_length': 5.408396946564886, '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': '7403439', 'n_tokens_mistral': 571, 'n_tokens_neox': 557, 'n_words': 114}