Commit Graph

2 Commits

Author SHA1 Message Date
Michael Stapelberg
c61213349c provide a programmatic entry point to the gok CLI
This interfaces with spf13/cobra without typing ourselves to its types, and
exerting control (for better of for worse) about what aspects one can control.

With this, we can move the code in cmd to internal/
2023-01-15 15:55:51 +01:00
Michael Stapelberg
34f3ddd1ac introduce gok CLI
This is a subcommand based CLI for gokrazy.

Its first subcommand is “run”, to be used like so:

  cd ~/scan2drive/cmd/scan2drive
  gok run --instance=scan2drive

related to https://github.com/gokrazy/gokrazy/issues/88
2021-11-21 17:01:03 +01:00