@@ -26,9 +26,14 @@ var (
26 Set("TERM", os.Getenv("TERM")).
26 Set("TERM", os.Getenv("TERM")).
27 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
27 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
28 Set("Version", version.Version).
28 Set("Version", version.Version).
29− Set("GoVersion", runtime.Version())
29+ Set("GoVersion", runtime.Version()).
30+ Set("Interactive", false)
33+func SetInteractive(interactive bool) {
34+ baseProps = baseProps.Set("interactive", interactive)
32func Init() {
37func Init() {
33 c, err := posthog.NewWithConfig(key, posthog.Config{
38 c, err := posthog.NewWithConfig(key, posthog.Config{
34 Endpoint: endpoint,
39 Endpoint: endpoint,