INNER CODE UNIT · Go
configureManagedRuntimeEnvironment
renart-data/renart · main.go:34
func configureManagedRuntimeEnvironment() {
_ = os.Setenv("UV_NO_MODIFY_PATH", "1")
// Renart owns its usage policy; embedded Bruin must never start a second tracker.
bruintelemetry.OptOut = true
}
// argsWithDefaultCommand makes the desktop app the natural entry point while
// preserving the explicit CLI surface (`renart --help`, `renart run`, and so
// on). Subcommand-specific arguments remain explicit so command typos are not
// silently interpreted as workspace paths.
func argsWithDefaultCommand(args []string) []string {
if len(args) != 1 {
return args
}
return append(append([]string(nil), args...), "standalone")
}