treewide: refactor; defer cli handling to cobra

This commit is contained in:
raf 2025-06-18 14:01:26 +03:00
commit 1dd971e16b
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
7 changed files with 185 additions and 151 deletions

10
go.mod
View file

@ -1,12 +1,10 @@
module notashelf.dev/tct
go 1.22.2
go 1.24.3
require github.com/stretchr/testify v1.9.0
require github.com/spf13/cobra v1.9.1
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/spf13/pflag v1.0.6 // indirect
)