summaryrefslogtreecommitdiffstats
path: root/cmd/buckets.go
diff options
context:
space:
mode:
authorsinner <[email protected]>2026-01-19 06:02:10 -0500
committersinner <[email protected]>2026-01-19 06:02:10 -0500
commit85caa38c7b45766f044a016b88a410f75cb7469e (patch)
treefd6be3a176b62097494ced076768d82179a4dbcf /cmd/buckets.go
parent542a09fd14761b4789ae89e16060b1b453e2e0f2 (diff)
downloaddborg-85caa38c7b45766f044a016b88a410f75cb7469e.tar.gz
dborg-85caa38c7b45766f044a016b88a410f75cb7469e.zip
feat: add command aliases for improved cli usabilityHEADmaster
Diffstat (limited to 'cmd/buckets.go')
-rw-r--r--cmd/buckets.go18
1 files changed, 10 insertions, 8 deletions
diff --git a/cmd/buckets.go b/cmd/buckets.go
index fcb292d..74e0e3b 100644
--- a/cmd/buckets.go
+++ b/cmd/buckets.go
@@ -7,17 +7,19 @@ import (
)
var bucketsCmd = &cobra.Command{
- Use: "buckets",
- Short: "List public buckets",
- Long: `List public S3, Azure, GCP, and DigitalOcean buckets with file counts`,
- RunE: runBucketsSearch,
+ Use: "buckets",
+ Aliases: []string{"b"},
+ Short: "List public buckets",
+ Long: `List public S3, Azure, GCP, and DigitalOcean buckets with file counts`,
+ RunE: runBucketsSearch,
}
var bucketFilesCmd = &cobra.Command{
- Use: "bucket-files",
- Short: "Search public bucket files",
- Long: `Search public S3, Azure, GCP, and DigitalOcean buckets for exposed files`,
- RunE: runBucketFilesSearch,
+ Use: "bucket-files",
+ Aliases: []string{"bf"},
+ Short: "Search public bucket files",
+ Long: `Search public S3, Azure, GCP, and DigitalOcean buckets for exposed files`,
+ RunE: runBucketFilesSearch,
}
func init() {