feat: implement darwin launch agent (#192)

* feat: sketch out periodic command

* feat: sketch out periodic command for macOS

* feat: implement darwin's launch agent

* refactor: better way to run on darwin

Make sure we have code that builds on all platforms.

* fix(run): max 10 URLs with darwin in unattended mode

* feat: add support for seeing/streaming logs

* feat: implement the status command and add usage hints

* feat(periodic): run onboarding if needed

* fix: no too confusing function names

* fix: s/periodic/autorun/

Discussed earlier this morning with @hellais.

* fix: we cannot show logs before Big Sur

Bug reported by @hellais.
This commit is contained in:
Simone Basso 2021-01-14 18:32:05 +01:00 committed by GitHub
commit 504a4e79d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 334 additions and 0 deletions

View file

@ -3,6 +3,7 @@ package main
import (
"github.com/apex/log"
"github.com/ooni/probe-cli/internal/cli/app"
_ "github.com/ooni/probe-cli/internal/cli/autorun"
_ "github.com/ooni/probe-cli/internal/cli/geoip"
_ "github.com/ooni/probe-cli/internal/cli/info"
_ "github.com/ooni/probe-cli/internal/cli/list"