summaryrefslogtreecommitdiffstats
path: root/cmd/crawl.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/crawl.go
parent542a09fd14761b4789ae89e16060b1b453e2e0f2 (diff)
downloaddborg-85caa38c7b45766f044a016b88a410f75cb7469e.tar.gz
dborg-85caa38c7b45766f044a016b88a410f75cb7469e.zip
feat: add command aliases for improved cli usabilityHEADmaster
Diffstat (limited to 'cmd/crawl.go')
-rw-r--r--cmd/crawl.go11
1 files changed, 6 insertions, 5 deletions
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() {