<commit_before>// +build !urfavecli

package main

import (
	"fmt"
	"io/ioutil"
	"os"
	"os/signal"

	"koding/klientctl/commands"
	"koding/klientctl/commands/cli"
	"koding/klientctl/config"
	"koding/klientctl/ctlcli"
	"koding/klientctl/endpoint/kloud"
	"koding/klientctl/endpoint/machine"
)

func main() {
	// Backward-compatibility with install scripts.
	// "kd -version" is expected to return just one line of kite version.
	//
	// TODO(rjeczalik): If this requirement is dropped, remove -version
	// flag.
	if len(os.Args) == 2 && os.Args[1] == "-version" {
		fmt.Println(config.KiteVersion)
		return
	}

	// Initialize log handler.
	var logHandler = ioutil.Discard
	if f, err := os.OpenFile(config.GetKdLogPath(), os.O_WRONLY|os.O_APPEND, 0666); err == nil {
		logHandler = f<commit_msg>klientctl: remove urfavecli build tag<commit_after>package main

import (
	"fmt"
	"io/ioutil"
	"os"
	"os/signal"

	"koding/klientctl/commands"
	"koding/klientctl/commands/cli"
	"koding/klientctl/config"
	"koding/klientctl/ctlcli"
	"koding/klientctl/endpoint/kloud"
	"koding/klientctl/endpoint/machine"
)

func main() {
	// Backward-compatibility with install scripts.
	// "kd -version" is expected to return just one line of kite version.
	//
	// TODO(rjeczalik): If this requirement is dropped, remove -version
	// flag.
	if len(os.Args) == 2 && os.Args[1] == "-version" {
		fmt.Println(config.KiteVersion)
		return
	}

	// Initialize log handler.
	var logHandler = ioutil.Discard
	if f, err := os.OpenFile(config.GetKdLogPath(), os.O_WRONLY|os.O_APPEND, 0666); err == nil {
		logHandler = f
{'fraction_non_alphanumeric': 0.1447534766118837, 'fraction_numerical': 0.007585335018963337, 'mean_word_length': 3.870769230769231, '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': '6177895', 'n_tokens_mistral': 635, 'n_tokens_neox': 616, 'n_words': 132}