pub struct CrawlArgs {
pub token: String,
pub chain: String,
pub period: Period,
pub holders_limit: u32,
pub format: OutputFormat,
pub no_charts: bool,
pub report: Option<PathBuf>,
pub yes: bool,
pub save: bool,
pub token_contract: Option<String>,
}Expand description
Arguments for the crawl command.
Fields§
§token: StringToken address or symbol to analyze.
Can be a contract address (0x…) or a token symbol. A symbol that names more than one token lists them so you can choose (only exact symbols match). Use @label to resolve from the address book (e.g., @usdc-token).
chain: StringTarget blockchain network.
If not specified, the chain will be inferred from the address format or all chains will be searched for token names.
period: PeriodTime period for volume and price data.
holders_limit: u32Maximum number of holders to display.
format: OutputFormatOutput format for the results.
no_charts: boolDisable ASCII chart output.
report: Option<PathBuf>Generate and save a markdown report to the specified path.
yes: boolSkip the save question. An ambiguous symbol still stops: choose with –token.
save: boolSave the chosen token so the symbol always means it.
token_contract: Option<String>The token’s contract: use it and skip the symbol lookup.
Trait Implementations§
Source§impl Args for CrawlArgs
impl Args for CrawlArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for CrawlArgs
impl FromArgMatches for CrawlArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Forget for CrawlArgs
impl Freeze for CrawlArgs
impl RefUnwindSafe for CrawlArgs
impl Send for CrawlArgs
impl Sync for CrawlArgs
impl Unpin for CrawlArgs
impl UnsafeUnpin for CrawlArgs
impl UnwindSafe for CrawlArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more