diff options
| author | sinner <[email protected]> | 2026-01-19 06:02:10 -0500 |
|---|---|---|
| committer | sinner <[email protected]> | 2026-01-19 06:02:10 -0500 |
| commit | 85caa38c7b45766f044a016b88a410f75cb7469e (patch) | |
| tree | fd6be3a176b62097494ced076768d82179a4dbcf /cmd/telegram.go | |
| parent | 542a09fd14761b4789ae89e16060b1b453e2e0f2 (diff) | |
| download | dborg-85caa38c7b45766f044a016b88a410f75cb7469e.tar.gz dborg-85caa38c7b45766f044a016b88a410f75cb7469e.zip | |
Diffstat (limited to 'cmd/telegram.go')
| -rw-r--r-- | cmd/telegram.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/cmd/telegram.go b/cmd/telegram.go index 1c650b7..98092a6 100644 --- a/cmd/telegram.go +++ b/cmd/telegram.go @@ -6,17 +6,19 @@ import ( ) var telegramCmd = &cobra.Command{ - Use: "telegram", - Short: "Telegram lookup commands", - Long: `Lookup phone numbers associated with Telegram accounts`, + Use: "telegram", + Aliases: []string{"tg"}, + Short: "Telegram lookup commands", + Long: `Lookup phone numbers associated with Telegram accounts`, } var phoneCmd = &cobra.Command{ - Use: "phone [identifier]", - Short: "Get phone number for Telegram user", - Long: `Retrieves the phone number associated with a Telegram username (with @ prefix) or user ID`, - Args: cobra.ExactArgs(1), - RunE: runTelegramPhone, + Use: "phone [identifier]", + Aliases: []string{"p"}, + Short: "Get phone number for Telegram user", + Long: `Retrieves the phone number associated with a Telegram username (with @ prefix) or user ID`, + Args: cobra.ExactArgs(1), + RunE: runTelegramPhone, } func init() { |
