vscode/cli
Connor Peet 1bf3323015
cli: add service integration for macos, observability
Adds support for running the tunnel as a service on macOS via launchservices.

It also hooks up observability (`code tunnel service log`) on macOS and Linux.
On macOS--and later Windows, hence the manual implementation of `tail`--it
saves output to a log file and watches it. On Linux, it simply delegates to
journalctl.

The "tailing" is implemented via simple polling of the file size. I didn't want
to pull in a giant set of dependencies for inotify/kqueue/etc just for this use
case; performance when polling a single log file is not a huge concern.
2022-11-15 15:39:58 -08:00
..
.cargo cli: static link the crt on windows (#164532) 2022-10-25 09:59:05 +02:00
src cli: add service integration for macos, observability 2022-11-15 15:39:58 -08:00
build.rs cli: use hard tabs to align with vscode style 2022-09-23 14:17:01 -07:00
Cargo.lock cli: add service integration for systemd (#166328) 2022-11-14 21:39:05 -08:00
Cargo.toml cli: add service integration for systemd (#166328) 2022-11-14 21:39:05 -08:00
CONTRIBUTING.md cli: point docs to the new RA extension ns (#162500) 2022-10-04 08:17:10 -07:00
rustfmt.toml cli: use hard tabs to align with vscode style 2022-09-23 14:17:01 -07:00