1 // Command onechat runs the agent daemon and its terminal client.
15 // A failed error report cannot be reported through the same
17 fmt.Fprintln(os.Stderr, "onechat:", err) // nolint: errcheck
23 ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
26 return parseCommand(ctx, os.Args[1:])