<commit_before>package main

import (
	"os"

	"github.com/codegangsta/cli"
	"github.com/zvelo/envetcd"
	"github.com/zvelo/zvelo-services/util"
)

const (
	name    = "envetcd"
	version = "0.3.6"
)

type configT struct {
	EnvEtcd  *envetcd.Config
	WriteEnv string
	Output   string
	CleanEnv bool
}

var (
	app       = cli.NewApp()
	config    configT
	templates = cli.StringSlice{}
)

func init() {
	hostname, _ := os.Hostname()
	app.Name = name
	app.Version = version
	app.Usage = "set environment variables from etcd"
	app.Authors = []cli.Author{
		{Name: "<NAME>", Email: "<EMAIL>"},
	}
	app.Flags = append(util.EtcdFlags, []cli.Flag{
		cli.StringFlag{
			Name:   "hostname",
			EnvVar: "HOSTNAME",<commit_msg>release 0.3.7<commit_after>package main

import (
	"os"

	"github.com/codegangsta/cli"
	"github.com/zvelo/envetcd"
	"github.com/zvelo/zvelo-services/util"
)

const (
	name    = "envetcd"
	version = "0.3.7"
)

type configT struct {
	EnvEtcd  *envetcd.Config
	WriteEnv string
	Output   string
	CleanEnv bool
}

var (
	app       = cli.NewApp()
	config    configT
	templates = cli.StringSlice{}
)

func init() {
	hostname, _ := os.Hostname()
	app.Name = name
	app.Version = version
	app.Usage = "set environment variables from etcd"
	app.Authors = []cli.Author{
		{Name: "<NAME>", Email: "<EMAIL>"},
	}
	app.Flags = append(util.EtcdFlags, []cli.Flag{
		cli.StringFlag{
			Name:   "hostname",
			EnvVar: "HOSTNAME",
{'fraction_non_alphanumeric': 0.14929577464788732, 'fraction_numerical': 0.006338028169014085, 'mean_word_length': 3.4685534591194966, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3581080', 'n_tokens_mistral': 589, 'n_tokens_neox': 571, 'n_words': 116}