cmd: re-use existing ui library

Also, move CLI-only utils into `cmd` rather than the top-level package.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-01-12 15:21:36 -08:00
parent bbdd2b394a
commit 49f0c0e149
6 changed files with 152 additions and 31 deletions

1
go.mod
View File

@@ -7,6 +7,7 @@ require (
github.com/KromDaniel/jonson v0.0.0-20180630143114-d2f9c3c389db
github.com/containerd/console v1.0.1
github.com/emicklei/proto v1.9.0 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/moby/buildkit v0.8.1
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.0.0