mciasctl: convert from flag to cobra

Adds shell completion support (zsh, bash, fish) via cobra's built-in
completion command. All existing behavior and security measures are
preserved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-27 21:48:24 -07:00
parent be3bc807b7
commit cff7276293
81 changed files with 14517 additions and 683 deletions

11
vendor/modules.txt vendored
View File

@@ -40,6 +40,9 @@ github.com/google/go-tpm/tpmutil/tbs
# github.com/google/uuid v1.6.0
## explicit
github.com/google/uuid
# github.com/inconshreveable/mousetrap v1.1.0
## explicit; go 1.18
github.com/inconshreveable/mousetrap
# github.com/mattn/go-isatty v0.0.20
## explicit; go 1.15
github.com/mattn/go-isatty
@@ -61,8 +64,12 @@ github.com/remyoudompheng/bigfft
github.com/skip2/go-qrcode
github.com/skip2/go-qrcode/bitset
github.com/skip2/go-qrcode/reedsolomon
# github.com/stretchr/testify v1.11.1
## explicit; go 1.17
# github.com/spf13/cobra v1.10.2
## explicit; go 1.15
github.com/spf13/cobra
# github.com/spf13/pflag v1.0.9
## explicit; go 1.12
github.com/spf13/pflag
# github.com/x448/float16 v0.8.4
## explicit; go 1.11
github.com/x448/float16