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/crawl.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cmd/crawl.go') diff --git a/cmd/crawl.go b/cmd/crawl.go index d889e1d..2c9b719 100644 --- a/cmd/crawl.go +++ b/cmd/crawl.go @@ -7,11 +7,12 @@ import ( ) var crawlCmd = &cobra.Command{ - Use: "crawl [domain]", - Short: "Crawl domain", - Long: `Resolves a domain using httpx and crawls it using katana. Returns discovered links as plain text, one per line, streamed in real-time. Supports both http:// and https:// URLs.`, - Args: cobra.ExactArgs(1), - RunE: runCrawl, + Use: "crawl [domain]", + Aliases: []string{"cw"}, + Short: "Crawl domain", + Long: `Resolves a domain using httpx and crawls it using katana. Returns discovered links as plain text, one per line, streamed in real-time. Supports both http:// and https:// URLs.`, + Args: cobra.ExactArgs(1), + RunE: runCrawl, } func init() { -- cgit v1.2.3