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/email.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'cmd/email.go') diff --git a/cmd/email.go b/cmd/email.go index f4306ec..85cc686 100644 --- a/cmd/email.go +++ b/cmd/email.go @@ -6,17 +6,19 @@ import ( ) var emailCmd = &cobra.Command{ - Use: "email", - Short: "Email verification commands", - Long: `Verify email addresses and check deliverability`, + Use: "email", + Aliases: []string{"e"}, + Short: "Email verification commands", + Long: `Verify email addresses and check deliverability`, } var verifyEmailCmd = &cobra.Command{ - Use: "verify [email]", - Short: "Verify email address", - Long: `Performs comprehensive email verification including format validation, MX records check, SMTP verification, and disposable/webmail detection`, - Args: cobra.ExactArgs(1), - RunE: runVerifyEmail, + Use: "verify [email]", + Aliases: []string{"v"}, + Short: "Verify email address", + Long: `Performs comprehensive email verification including format validation, MX records check, SMTP verification, and disposable/webmail detection`, + Args: cobra.ExactArgs(1), + RunE: runVerifyEmail, } func init() { -- cgit v1.2.3