@@ -15,6 +15,8 @@ import (
1515const (
1616 endpoint = "https://data.charm.land"
1717 key = "phc_4zt4VgDWLqbYnJYEwLRxFoaTL2noNrQij0C6E8k3I0V"
18+
19+ nonInteractiveEvenName = "NonInteractive"
1820)
1921
2022var (
@@ -27,11 +29,11 @@ var (
2729 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
2830 Set("Version", version.Version).
2931 Set("GoVersion", runtime.Version()).
30− Set("Interactive", false)
32+ Set(nonInteractiveEvenName, false)
3133)
3234
33−func SetInteractive(interactive bool) {
34− baseProps = baseProps.Set("Interactive", interactive)
35+func SetNonInteractive(nonInteractive bool) {
36+ baseProps = baseProps.Set(nonInteractiveEvenName, nonInteractive)
3537}
3638
3739func Init() {