Global Flags
Global flags can be used with any qclient command to modify behavior, override configurations, or preview operations without executing them.
Available Global Flags
Public RPC Flag
Force the use of public RPC endpoint regardless of configuration settings.
--public-rpc=<true|false>
Usage:
--public-rpc=true
: Forces use of Quilibrium's public RPC--public-rpc=false
: Forces use of local node RPC
Examples:
qclient token balance --public-rpc=true
qclient node info --public-rpc=false
This flag only affects commands that interact with the network. Local-only commands ignore this flag.
Interactive Mode
Switches the client to interactive mode, where supplied arguments are requested interactively. Useful for avoiding private inputs being given as command line arguments.
--interactive=<true|false>
This flag is false by default.
Configuration Path
Specify a custom configuration directory path.
--config <Path>
Usage:
- Can specify a directory:
--config /path/to/config/dir/
Examples:
qclient token balance --config ~/custom-config/
qclient node start --config /etc/quilibrium/config/
Signature Check Override
Override the signature verification setting for the current command.
--signature-check=<true|false>
Usage:
--signature-check=true
: Enforce signature verification--signature-check=false
: Skip signature verification (use with caution)
Examples:
qclient update --signature-check=true
qclient download-signatures --signature-check=false
Disabling signature verification carries risk that the downloaded binaries may be tampered. Only disable when absolutely necessary and you trust the source.
Dry Run Mode
Preview operations and estimate costs without actually executing them.
--dry-run
Usage:
- Shows what would happen without making changes
- Estimates transaction costs based on current fee market
- Validates parameters and permissions
Supported Commands:
- All
deploy
commands - Token transfers and operations
- Node configuration changes
- Key operations
Examples:
# Preview deployment cost
qclient deploy compute app.qcl --dry-run
# Check transfer feasibility
qclient token transfer 0xrecipient 10.0 --dry-run
Dry Run Output Example:
[DRY RUN] Token Transfer
- From: 0xsender123...
- To: 0xrecipient456...
- Amount: 10.0 QUIL
- Estimated Fee: 0.001 QUIL
- Total Cost: 10.001 QUIL
- Current Balance: 50.0 QUIL
- Status: ✓ Transaction would succeed
Flag Precedence
When multiple configuration sources are available, the precedence order is:
- Command-line flags (highest priority)
- Environment variables
- Configuration file specified with --config
- Default configuration file
- Built-in defaults (lowest priority)