<commit_before>package cmd

import (
	"fmt"
	"os"
	"runtime"

	"github.com/spf13/cobra"
	"github.com/spf13/viper"
)

// RootCmd represents the base command when called without any subcommands
var RootCmd = &cobra.Command{
	Use:   "pewpew",
	Short: "HTTP(S) & HTTP2 load tester for performance and stress testing",
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		runtime.GOMAXPROCS(viper.GetInt("cpu"))
	},
}

// Execute runs the RootCmd and terminates the program if there is an error
func Execute() {
	if err := RootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(-1)
	}
}
<commit_msg>Quiet overrides verbose when both are enabled (#16)<commit_after>package cmd

import (
	"fmt"
	"os"
	"runtime"

	"github.com/spf13/cobra"
	"github.com/spf13/viper"
)

// RootCmd represents the base command when called without any subcommands
var RootCmd = &cobra.Command{
	Use:   "pewpew",
	Short: "HTTP(S) & HTTP2 load tester for performance and stress testing",
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		runtime.GOMAXPROCS(viper.GetInt("cpu"))
		if viper.GetBool("verbose") && viper.GetBool("quiet") {
			fmt.Println("Both verbose and quiet enabled, disabling verbose")
			viper.Set("verbose", false)
		}
	},
}

// Execute runs the RootCmd and terminates the program if there is an error
func Execute() {
	if err := RootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(-1)
	}
}

{'fraction_non_alphanumeric': 0.1346018322762509, 'fraction_numerical': 0.009866102889358703, 'mean_word_length': 4.239852398523985, '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': '6455192', 'n_tokens_mistral': 539, 'n_tokens_neox': 511, 'n_words': 141}