Migrated command line commands and flags handling to cobra framework.

This commit is contained in:
2025-07-27 12:37:14 +02:00
parent d9af118c45
commit 544770cc3e
2 changed files with 66 additions and 28 deletions

7
go.mod
View File

@@ -2,13 +2,18 @@ module koszewscy.waw.pl/slawek/lab-ca
go 1.24.5
require github.com/hashicorp/hcl/v2 v2.24.0
require (
github.com/hashicorp/hcl/v2 v2.24.0
github.com/spf13/cobra v1.9.1
)
require (
github.com/agext/levenshtein v1.2.1 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/zclconf/go-cty v1.16.3 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.14.0 // indirect