cmd: Add 'version' command & UI options
Showing
- cmd/program.go 56 additions, 1 deletioncmd/program.go
- cmd/program_ui.go 137 additions, 0 deletionscmd/program_ui.go
- cmd/version.go 43 additions, 0 deletionscmd/version.go
- go.mod 1 addition, 0 deletionsgo.mod
- go.sum 2 additions, 0 deletionsgo.sum
- spa_fileserver.go 209 additions, 0 deletionsspa_fileserver.go
- tools/build_version_file/main.go 90 additions, 0 deletionstools/build_version_file/main.go
cmd/program_ui.go
0 → 100644
cmd/version.go
0 → 100644
... | ... | @@ -66,6 +66,7 @@ |
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/spf13/viper v1.16.0 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/timewasted/go-accept-headers v0.0.0-20130320203746-c78f304b1b09 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
golang.org/x/crypto v0.13.0 // indirect | ||
golang.org/x/sys v0.21.0 // indirect | ||
... | ... |
... | ... | @@ -450,6 +450,8 @@ |
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= | ||
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= | ||
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= | ||
github.com/timewasted/go-accept-headers v0.0.0-20130320203746-c78f304b1b09 h1:QVxbx5l/0pzciWYOynixQMtUhPYC3YKD6EcUlOsgGqw= | ||
github.com/timewasted/go-accept-headers v0.0.0-20130320203746-c78f304b1b09/go.mod h1:Uy/Rnv5WKuOO+PuDhuYLEpUiiKIZtss3z519uk67aF0= | ||
github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4= | ||
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= | ||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= | ||
... | ... |
spa_fileserver.go
0 → 100644
tools/build_version_file/main.go
0 → 100644
Please register or sign in to comment