From 85caa38c7b45766f044a016b88a410f75cb7469e Mon Sep 17 00:00:00 2001 From: sinner Date: Mon, 19 Jan 2026 06:02:10 -0500 Subject: feat: add command aliases for improved cli usability --- cmd/buckets.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'cmd/buckets.go') 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() { -- cgit v1.2.3