Use cobra to turn linkctl into a proper cli

Most commands are currently placeholders but version and db init work
This commit is contained in:
2025-05-09 03:34:13 +02:00
parent e66d800881
commit f7c72626ee
5 changed files with 238 additions and 6 deletions

10
go.mod
View File

@ -2,4 +2,12 @@ module git.omicron.one/omicron/linkshare
go 1.24
require github.com/mattn/go-sqlite3 v1.14.28
require (
github.com/mattn/go-sqlite3 v1.14.28
github.com/spf13/cobra v1.9.1
)
require (
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/spf13/pflag v1.0.6 // indirect
)