diff options
Diffstat (limited to 'cmd/crypto.go')
| -rw-r--r-- | cmd/crypto.go | 161 |
1 files changed, 88 insertions, 73 deletions
diff --git a/cmd/crypto.go b/cmd/crypto.go index 02b39b1..829a54d 100644 --- a/cmd/crypto.go +++ b/cmd/crypto.go @@ -7,121 +7,136 @@ import ( ) var cryptoCmd = &cobra.Command{ - Use: "crypto", - Short: "Crypto analysis commands", - Long: `Analyze cryptocurrency tokens, wallets, and trading activity`, + Use: "crypto", + Aliases: []string{"cr"}, + Short: "Crypto analysis commands", + Long: `Analyze cryptocurrency tokens, wallets, and trading activity`, } var bundleDetectionCmd = &cobra.Command{ - Use: "bundle-detection [address]", - Short: "Detect bundled launches", - Long: `Analyzes whether a token contract was bundled during launch`, - Args: cobra.ExactArgs(1), - RunE: runBundleDetection, + Use: "bundle-detection [address]", + Aliases: []string{"bd"}, + Short: "Detect bundled launches", + Long: `Analyzes whether a token contract was bundled during launch`, + Args: cobra.ExactArgs(1), + RunE: runBundleDetection, } var crossTradersCmd = &cobra.Command{ - Use: "cross-traders [addresses]", - Short: "Find cross-token traders", - Long: `Filters common traders active across multiple token contracts (comma-separated addresses)`, - Args: cobra.ExactArgs(1), - RunE: runCrossTraders, + Use: "cross-traders [addresses]", + Aliases: []string{"ct"}, + Short: "Find cross-token traders", + Long: `Filters common traders active across multiple token contracts (comma-separated addresses)`, + Args: cobra.ExactArgs(1), + RunE: runCrossTraders, } var earlyAdoptersCmd = &cobra.Command{ - Use: "early-adopters [address]", - Short: "Analyze early adopters", - Long: `Analyzes early buyers and their trading activity for a token`, - Args: cobra.ExactArgs(1), - RunE: runEarlyAdopters, + Use: "early-adopters [address]", + Aliases: []string{"ea"}, + Short: "Analyze early adopters", + Long: `Analyzes early buyers and their trading activity for a token`, + Args: cobra.ExactArgs(1), + RunE: runEarlyAdopters, } var floorHoldersCmd = &cobra.Command{ - Use: "floor-holders [address]", - Short: "Analyze floor price holders", - Long: `Analyzes top holders who bought at floor prices`, - Args: cobra.ExactArgs(1), - RunE: runFloorHolders, + Use: "floor-holders [address]", + Aliases: []string{"fh"}, + Short: "Analyze floor price holders", + Long: `Analyzes top holders who bought at floor prices`, + Args: cobra.ExactArgs(1), + RunE: runFloorHolders, } var freshAccountsCmd = &cobra.Command{ - Use: "fresh-accounts [address]", - Short: "Analyze fresh accounts", - Long: `Analyzes top holder fresh wallets to detect potential sybil attacks`, - Args: cobra.ExactArgs(1), - RunE: runFreshAccounts, + Use: "fresh-accounts [address]", + Aliases: []string{"fa"}, + Short: "Analyze fresh accounts", + Long: `Analyzes top holder fresh wallets to detect potential sybil attacks`, + Args: cobra.ExactArgs(1), + RunE: runFreshAccounts, } var fundingSourceCmd = &cobra.Command{ - Use: "funding-source [address]", - Short: "Analyze funding source", - Long: `Determines how and when a wallet address was funded`, - Args: cobra.ExactArgs(1), - RunE: runFundingSource, + Use: "funding-source [address]", + Aliases: []string{"fs"}, + Short: "Analyze funding source", + Long: `Determines how and when a wallet address was funded`, + Args: cobra.ExactArgs(1), + RunE: runFundingSource, } var graduationStatsCmd = &cobra.Command{ - Use: "graduation-stats", - Short: "Get graduation statistics", - Long: `Retrieves statistics for recently graduated token launches`, - Args: cobra.NoArgs, - RunE: runGraduationStats, + Use: "graduation-stats", + Aliases: []string{"gs"}, + Short: "Get graduation statistics", + Long: `Retrieves statistics for recently graduated token launches`, + Args: cobra.NoArgs, + RunE: runGraduationStats, } var launchParticipantsCmd = &cobra.Command{ - Use: "launch-participants [address]", - Short: "Get launch participants", - Long: `Retrieves list of early participants in token launch`, - Args: cobra.ExactArgs(1), - RunE: runLaunchParticipants, + Use: "launch-participants [address]", + Aliases: []string{"lp"}, + Short: "Get launch participants", + Long: `Retrieves list of early participants in token launch`, + Args: cobra.ExactArgs(1), + RunE: runLaunchParticipants, } var liquidityCmd = &cobra.Command{ - Use: "liquidity [address]", - Short: "Check liquidity status", - Long: `Checks if liquidity has been added or updated on DEX for a token`, - Args: cobra.ExactArgs(1), - RunE: runLiquidity, + Use: "liquidity [address]", + Aliases: []string{"liq"}, + Short: "Check liquidity status", + Long: `Checks if liquidity has been added or updated on DEX for a token`, + Args: cobra.ExactArgs(1), + RunE: runLiquidity, } var ownerIntelCmd = &cobra.Command{ - Use: "owner-intel [address]", - Short: "Get owner intelligence", - Long: `Retrieves detailed intelligence and analysis on token holders`, - Args: cobra.ExactArgs(1), - RunE: runOwnerIntel, + Use: "owner-intel [address]", + Aliases: []string{"oi"}, + Short: "Get owner intelligence", + Long: `Retrieves detailed intelligence and analysis on token holders`, + Args: cobra.ExactArgs(1), + RunE: runOwnerIntel, } var ownershipDistributionCmd = &cobra.Command{ - Use: "ownership-distribution [address]", - Short: "Analyze ownership distribution", - Long: `Visualizes token holder ownership distribution and concentration`, - Args: cobra.ExactArgs(1), - RunE: runOwnershipDistribution, + Use: "ownership-distribution [address]", + Aliases: []string{"od"}, + Short: "Analyze ownership distribution", + Long: `Visualizes token holder ownership distribution and concentration`, + Args: cobra.ExactArgs(1), + RunE: runOwnershipDistribution, } var portfolioCmd = &cobra.Command{ - Use: "portfolio [address]", - Short: "Analyze portfolio", - Long: `Analyzes profit and loss for recently traded tokens in a wallet`, - Args: cobra.ExactArgs(1), - RunE: runPortfolio, + Use: "portfolio [address]", + Aliases: []string{"pf"}, + Short: "Analyze portfolio", + Long: `Analyzes profit and loss for recently traded tokens in a wallet`, + Args: cobra.ExactArgs(1), + RunE: runPortfolio, } var topOwnersCmd = &cobra.Command{ - Use: "top-owners [address]", - Short: "Analyze top owners", - Long: `Analyzes the top holders and their positions for a token`, - Args: cobra.ExactArgs(1), - RunE: runTopOwners, + Use: "top-owners [address]", + Aliases: []string{"to"}, + Short: "Analyze top owners", + Long: `Analyzes the top holders and their positions for a token`, + Args: cobra.ExactArgs(1), + RunE: runTopOwners, } var whaleIntelCmd = &cobra.Command{ - Use: "whale-intel [address]", - Short: "Analyze whale holdings", - Long: `Analyzes net worth and positions of top 50 whale holders`, - Args: cobra.ExactArgs(1), - RunE: runWhaleIntel, + Use: "whale-intel [address]", + Aliases: []string{"wi"}, + Short: "Analyze whale holdings", + Long: `Analyzes net worth and positions of top 50 whale holders`, + Args: cobra.ExactArgs(1), + RunE: runWhaleIntel, } func init() { |
