<commit_before>package cli

import (
	"github.com/codegangsta/cli"
	"io"

	"polydawn.net/repeatr/def"
	"polydawn.net/repeatr/executor/dispatch"
	"polydawn.net/repeatr/scheduler/dispatch"
)

func Main(args []string, journal io.Writer) {
	App := cli.NewApp()

	App.Name = "repeatr"
	App.Usage = "Run it. Run it again."
	App.Version = "0.0.1"

	bat := cli.StringSlice([]string{})

	App.Commands = []cli.Command{
		{
			Name:   "run",
			Usage:  "Run a formula",
			Action: func(c *cli.Context) { Run(c, journal) },
			Flags: []cli.Flag{
				cli.StringFlag{
					Name:  "executor, e",
					Value: "nsinit",
					Usage: "Which executor to use",<commit_msg>Route cli usage output through journal.<commit_after>package cli

import (
	"github.com/codegangsta/cli"
	"io"

	"polydawn.net/repeatr/def"
	"polydawn.net/repeatr/executor/dispatch"
	"polydawn.net/repeatr/scheduler/dispatch"
)

func Main(args []string, journal io.Writer) {
	App := cli.NewApp()

	App.Name = "repeatr"
	App.Usage = "Run it. Run it again."
	App.Version = "0.0.1"

	App.Writer = journal

	bat := cli.StringSlice([]string{})

	App.Commands = []cli.Command{
		{
			Name:   "run",
			Usage:  "Run a formula",
			Action: func(c *cli.Context) { Run(c, journal) },
			Flags: []cli.Flag{
				cli.StringFlag{
					Name:  "executor, e",
					Value: "nsinit",
					Usage: "Which executor to use",
{'fraction_non_alphanumeric': 0.1680236861584012, 'fraction_numerical': 0.0044411547002220575, 'mean_word_length': 3.403908794788274, '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': '5720974', 'n_tokens_mistral': 589, 'n_tokens_neox': 525, 'n_words': 112}