agent/app/license.go
func printLicense() int {
	license := utils.NewLicenseProvider()
	text, err := license.GetText()
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		return exitcodes.ExitError
	}
	fmt.Println(text)
	return exitcodes.ExitSuccess
}
func printLicense() int {
	license := utils.NewLicenseProvider()
	text, err := license.GetText()
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		return exitcodes.ExitError
	}
	fmt.Println(text)
	return exitcodes.ExitSuccess
}
func printLicense ( ) int { license := utils . NewLicenseProvider ( ) text , err := license . GetText ( ) if err != nil { fmt . Fprintln ( os . Stderr , err ) return exitcodes . ExitError } fmt . Println ( text ) return exitcodes . ExitSuccess }
// printLicense prints the Agent's license text
printLicense prints the Agent s license text