dop-stick
Version:
Source control tooling for versionable-upgradeable smart contracts
31 lines • 1.06 kB
TypeScript
import { CommandModule } from './types';
/**
* Command to retrieve detailed information about a diamond contract.
*
* Usage:
* ```bash
* dopstick info [diamondAddress] [rpcUrl] [options]
* ```
*
* Arguments:
* - `diamondAddress`: The address of the diamond contract (optional if specified in env)
* - `rpcUrl`: The RPC URL to connect to the network (optional if specified in env)
*
* Options:
* - `--json`: Output only JSON format of the facets information
* - `--report`: Output only human-readable report
* - `--docs`: Generate detailed documentation for the diamond
* - `--no-cache`: Disable caching during info generation
* - `--no-compile`: Skip contract compilation
*
* Environment Variables:
* - `DIAMOND_ADDRESS`: Default diamond address if not provided as argument
* - `RPC_URL`: Default RPC URL if not provided as argument
*
* Example:
* ```bash
* dopstick info 0x123... https://eth-mainnet.g.alchemy.com/v2/YOUR-API-KEY --json
* ```
*/
export declare const infoCommand: CommandModule;
//# sourceMappingURL=info.d.ts.map