summaryrefslogtreecommitdiffstats
path: root/cmd/skiptrace.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/skiptrace.go')
-rw-r--r--cmd/skiptrace.go52
1 files changed, 29 insertions, 23 deletions
diff --git a/cmd/skiptrace.go b/cmd/skiptrace.go
index d8c439a..5b9ed35 100644
--- a/cmd/skiptrace.go
+++ b/cmd/skiptrace.go
@@ -11,8 +11,9 @@ import (
)
var skiptraceCmd = &cobra.Command{
- Use: "skiptrace",
- Short: "Premium skiptrace operations (requires premium API access)",
+ Use: "skiptrace",
+ Aliases: []string{"st"},
+ Short: "Premium skiptrace operations (requires premium API access)",
Long: `Search for people, phone numbers, and email addresses using premium skiptrace data.
Note: All skiptrace commands require a premium API key. If you receive a 403 error,
@@ -20,42 +21,47 @@ contact support to upgrade your account for premium access.`,
}
var skiptraceWizardCmd = &cobra.Command{
- Use: "wizard",
- Short: "Interactive wizard to search for a person and generate a report",
+ Use: "wizard",
+ Aliases: []string{"w"},
+ Short: "Interactive wizard to search for a person and generate a report",
Long: `Launch an interactive wizard with a form to enter search criteria,
then select from results in a table view to generate a detailed report.`,
RunE: runSkiptraceWizard,
}
var skiptracePeopleCmd = &cobra.Command{
- Use: "people",
- Short: "Search for people by name",
- Long: `Search for people by first name, last name, and optional location/age filters`,
- RunE: runSkiptracePeople,
+ Use: "people",
+ Aliases: []string{"ppl"},
+ Short: "Search for people by name",
+ Long: `Search for people by first name, last name, and optional location/age filters`,
+ RunE: runSkiptracePeople,
}
var skiptracePhoneCmd = &cobra.Command{
- Use: "phone [phone_number]",
- Short: "Search for phone number",
- Long: `Look up information about a phone number (10 digits, no +1 prefix)`,
- Args: cobra.ExactArgs(1),
- RunE: runSkiptracePhone,
+ Use: "phone [phone_number]",
+ Aliases: []string{"ph"},
+ Short: "Search for phone number",
+ Long: `Look up information about a phone number (10 digits, no +1 prefix)`,
+ Args: cobra.ExactArgs(1),
+ RunE: runSkiptracePhone,
}
var skiptraceEmailCmd = &cobra.Command{
- Use: "email [email_address]",
- Short: "Search for email address",
- Long: `Look up information about an email address`,
- Args: cobra.ExactArgs(1),
- RunE: runSkiptraceEmail,
+ Use: "email [email_address]",
+ Aliases: []string{"em"},
+ Short: "Search for email address",
+ Long: `Look up information about an email address`,
+ Args: cobra.ExactArgs(1),
+ RunE: runSkiptraceEmail,
}
var skiptraceReportCmd = &cobra.Command{
- Use: "report [sx_key] [selection]",
- Short: "Get a person report by sx_key and selection number",
- Long: `Generate a detailed report for a person using the sx_key from a people search and selection number`,
- Args: cobra.ExactArgs(2),
- RunE: runSkiptraceReport,
+ Use: "report [sx_key] [selection]",
+ Aliases: []string{"rpt"},
+ Short: "Get a person report by sx_key and selection number",
+ Long: `Generate a detailed report for a person using the sx_key from a people search and selection number`,
+ Args: cobra.ExactArgs(2),
+ RunE: runSkiptraceReport,
}
func init() {