@@ -15,6 +15,8 @@ import (
16 endpoint = "https://data.charm.land"
16 endpoint = "https://data.charm.land"
17 key = "phc_4zt4VgDWLqbYnJYEwLRxFoaTL2noNrQij0C6E8k3I0V"
17 key = "phc_4zt4VgDWLqbYnJYEwLRxFoaTL2noNrQij0C6E8k3I0V"
19+ nonInteractiveEvenName = "NonInteractive"
@@ -27,11 +29,11 @@ var (
27 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
29 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
28 Set("Version", version.Version).
30 Set("Version", version.Version).
29 Set("GoVersion", runtime.Version()).
31 Set("GoVersion", runtime.Version()).
30− Set("Interactive", false)
32+ Set(nonInteractiveEvenName, false)
33−func SetInteractive(interactive bool) {
35+func SetNonInteractive(nonInteractive bool) {
34− baseProps = baseProps.Set("Interactive", interactive)
36+ baseProps = baseProps.Set(nonInteractiveEvenName, nonInteractive)
37func Init() {
39func Init() {