summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorMohammed Al Sahaf <msaa1990@gmail.com>2022-08-31 01:38:38 +0300
committerGitHub <noreply@github.com>2022-08-30 22:38:38 +0000
commit258bc82b69ccb0f514fc62ec8ecd7273458ab2e4 (patch)
tree201b76cd74ce0809f6b3061af4c145759a6e483f /go.mod
parent8cb3cf540c2d083721a1717b9ddf2657b7eb5102 (diff)
cmd: Migrate to `spf13/cobra`, remove single-dash arg support (#4565)
* cmd: migrate to spf13/cobra * add `manpage` command * limit Caddy tagline to root `help` only * hard-code the manpage section to 8
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod8
1 files changed, 6 insertions, 2 deletions
diff --git a/go.mod b/go.mod
index 3ad7819..f8f7863 100644
--- a/go.mod
+++ b/go.mod
@@ -21,6 +21,8 @@ require (
github.com/smallstep/cli v0.21.0
github.com/smallstep/nosql v0.4.0
github.com/smallstep/truststore v0.11.0
+ github.com/spf13/cobra v1.1.3
+ github.com/spf13/pflag v1.0.5
github.com/tailscale/tscert v0.0.0-20220316030059-54bbcb9f74e2
github.com/yuin/goldmark v1.4.13
github.com/yuin/goldmark-highlighting v0.0.0-20220208100518-594be1970594
@@ -40,6 +42,7 @@ require (
require (
github.com/golang/mock v1.6.0 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
+ gopkg.in/yaml.v2 v2.4.0 // indirect
)
require (
@@ -53,7 +56,7 @@ require (
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
- github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
+ github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/dgraph-io/badger v1.6.2 // indirect
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
github.com/dgraph-io/ristretto v0.0.4-0.20200906165740-41ebdbffecfd // indirect
@@ -72,6 +75,7 @@ require (
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.12 // indirect
+ github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.10.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
@@ -101,7 +105,7 @@ require (
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/rs/xid v1.2.1 // indirect
- github.com/russross/blackfriday/v2 v2.0.1 // indirect
+ github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/shopspring/decimal v1.2.0 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect