<commit_before>/*
	args is a package used to keep all command line parsing out util so our
	code can be reused
*/
package args

import (
	"flag"
)

var (
	// Flag variables
	SearchFlag       *string // SearchFlag is used to provide a string to search for types
	InfoFlag         *string // InfoFlag is used to provide an int to display info about a type
	Damage           *string // Damage is used to provide a TypeID to calculate damage of a weapon
	SDEVersion       *string // Version of the SDE to force
	ApplyModule      *string
	VerboseInfo      *bool // If our info should print as much data about a type that we can
	LicenseFlag      *bool // Print Licensing information
	VersionFlag      *bool // Print current version
	SlowFlag         *bool // Don't use optimizations
	TimeExecution    *bool // Should we time our functions?
	Clean            *bool // Cleans cache and database files
	DumpTypes        *bool // Dumps all types to a file for use with category.go
	GetMarketData    *bool // Flag used if getting market data with -i
	RunServer        *bool // Runs a server for hosting the web version of SDETool
	Debug            *bool
	ForcePanic       *bool
	Quiet            *bool
	Uninstall        *bool
	NoColor          *bool
	ComplexModCount  *int // ComplexModCount is used to calculate how many Complex mods to use
	EnhancedModCount *int // EnhancedModCount is used to calculate how many Enhanced mods to use
	BasicModCount    *int // BasicModCount is used to calculate how many Basic mods to use
	Prof             *int // Prof is how many levels of proficiency used when calculating damage
	Port             *int // What port to listen on?
)

func Init() {
	// Flags
	SearchFlag = flag.String("s", "", "Search for TypeIDs")
	InfoFlag = flag.String("i", "", "Get info with a TypeID, typeName or mDisplayName")
	VerboseInfo = flag.Bool("vi", false, "Prints all attributes when used with -i")
	LicenseFlag = flag.Bool("l", false, "Prints license information.")<commit_msg>godoc fixing<commit_after>/*
	args is a package used to keep all command line parsing out util so our
	code can be reused
*/
package args

import (
	"flag"
)

var (
	// Flag variables
	SearchFlag       *string // SearchFlag is used to provide a string to search for types
	InfoFlag         *string // InfoFlag is used to provide an int to display info about a type
	Damage           *string // Damage is used to provide a TypeID to calculate damage of a weapon
	SDEVersion       *string // Version of the SDE to force
	ApplyModule      *string
	VerboseInfo      *bool // If our info should print as much data about a type that we can
	LicenseFlag      *bool // Print Licensing information
	VersionFlag      *bool // Print current version
	SlowFlag         *bool // Don't use optimizations
	TimeExecution    *bool // Should we time our functions?
	Clean            *bool // Cleans cache and database files
	DumpTypes        *bool // Dumps all types to a file for use with category.go
	GetMarketData    *bool // Flag used if getting market data with -i
	RunServer        *bool // Runs a server for hosting the web version of SDETool
	Debug            *bool
	ForcePanic       *bool
	Quiet            *bool
	Uninstall        *bool
	NoColor          *bool
	ComplexModCount  *int // ComplexModCount is used to calculate how many Complex mods to use
	EnhancedModCount *int // EnhancedModCount is used to calculate how many Enhanced mods to use
	BasicModCount    *int // BasicModCount is used to calculate how many Basic mods to use
	Prof             *int // Prof is how many levels of proficiency used when calculating damage
	Port             *int // What port to listen on?
)

// Init handles parsing command line flags
func Init() {
	// Flags
	SearchFlag = flag.String("s", "", "Search for TypeIDs")
	InfoFlag = flag.String("i", "", "Get info with a TypeID, typeName or mDisplayName")
	VerboseInfo = flag.Bool("vi", false, "Prints all attributes when used with -i")
	LicenseFlag = flag.Bool("l", false, "Prints license information.")
{'fraction_non_alphanumeric': 0.06623505976095617, 'fraction_numerical': 0.0, 'mean_word_length': 2.681943171402383, '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': '560664', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1080, 'n_words': 530}