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/github.go | |
| parent | 542a09fd14761b4789ae89e16060b1b453e2e0f2 (diff) | |
| download | dborg-85caa38c7b45766f044a016b88a410f75cb7469e.tar.gz dborg-85caa38c7b45766f044a016b88a410f75cb7469e.zip | |
Diffstat (limited to 'cmd/github.go')
| -rw-r--r-- | cmd/github.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/cmd/github.go b/cmd/github.go index f38e5fe..73fe2a9 100644 --- a/cmd/github.go +++ b/cmd/github.go @@ -9,17 +9,19 @@ import ( ) var githubCmd = &cobra.Command{ - Use: "github", - Short: "GitHub leads scanner", - Long: `Scans GitHub repositories for commit author information based on search query`, + Use: "github", + Aliases: []string{"gh"}, + Short: "GitHub leads scanner", + Long: `Scans GitHub repositories for commit author information based on search query`, } var githubLeadsCmd = &cobra.Command{ - Use: "leads [query]", - Short: "Search GitHub repositories for commit authors", - Long: `Scans GitHub repositories for commit author information based on search query and streams results as NDJSON. If no query is provided, returns random leads.`, - Args: cobra.MaximumNArgs(1), - RunE: runGitHubLeads, + Use: "leads [query]", + Aliases: []string{"l"}, + Short: "Search GitHub repositories for commit authors", + Long: `Scans GitHub repositories for commit author information based on search query and streams results as NDJSON. If no query is provided, returns random leads.`, + Args: cobra.MaximumNArgs(1), + RunE: runGitHubLeads, } func init() { |
