Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line interface definitions.

Contains argument structures and command handlers for the Scope CLI. This module is primarily used by the binary crate but is exposed for programmatic CLI invocation. It provides the main Cli struct and Commands enum that define all available commands.

§CLI Module

This module defines the command-line interface using clap with derive macros. It provides the main Cli struct and Commands enum that define all available commands and their arguments.

§Command Structure

scope [OPTIONS] <COMMAND>

Commands:
  address      Analyze a blockchain address
  tx           Analyze a transaction
  crawl        Crawl a token for analytics data
  monitor      Live token monitor with real-time TUI dashboard
  portfolio    Portfolio management commands
  export       Export analysis data
  interactive  Interactive mode with preserved context
  setup        Configure settings and API keys
  compliance   Compliance and risk analysis commands

Options:
  --config <PATH>   Path to configuration file
  -v, --verbose...  Increase logging verbosity
  -h, --help        Print help
  -V, --version     Print version

Re-exports§

pub use address::AddressArgs;
pub use crawl::CrawlArgs;
pub use export::ExportArgs;
pub use interactive::InteractiveArgs;
pub use monitor::MonitorArgs;
pub use portfolio::PortfolioArgs;
pub use setup::SetupArgs;
pub use tx::TxArgs;

Modules§

address
Address Analysis Command
compliance
CLI commands for compliance and risk analysis
crawl
Crawl Command
export
Export Command
interactive
Interactive Mode
monitor
Live Token Monitor
portfolio
Portfolio Management Command
setup
Setup Command
tx
Transaction Analysis Command

Structs§

Cli
Blockchain Analysis CLI - A tool for blockchain data analysis.

Enums§

Commands
Available CLI subcommands.