seer-cli-0.1.86 is not a library.
seer-cli
Command-line interface for the Seer domain utility suite.
Overview
seer-cli provides a feature-rich command-line interface with:
- Command mode for scripting and one-off queries
- Interactive REPL for exploratory work
- Human-readable and JSON output formats
- Bulk operations with CSV output
- Progress indicators and colored output
Installation
From crates.io
From Source
This installs the seer binary to ~/.cargo/bin/.
Modules
| Directory | Description |
|---|---|
src/main.rs |
Entry point, Clap commands, subcommand dispatch |
src/repl/ |
Interactive REPL implementation |
src/display/ |
UI utilities (spinners, etc.) |
Commands
Smart Lookup
Tries RDAP first, falls back to WHOIS.
WHOIS Lookup
Query domain registrant information.
RDAP Lookup
Query RDAP for domains, IPs, or ASNs.
DNS Query
Query DNS records (like dig).
Supported record types: A, AAAA, MX, TXT, NS, SOA, CNAME, CAA, PTR, SRV, DNSKEY, DS, ANY
DNS Propagation
Check DNS propagation across global servers.
Domain Status
Check domain health (HTTP, SSL, expiration).
DNS Follow
Monitor DNS records over time.
Press Esc or Ctrl+C to stop early.
Bulk Operations
Process multiple domains from a file.
# Custom output file
Input file formats:
- Plain text (one domain per line)
- Comments (lines starting with
#) - CSV (uses first column)
Output Formats
# Human-readable (default)
# JSON
The --format flag works with all commands.
Interactive REPL
Start the REPL by running seer without arguments:
REPL features:
- Command history (saved to
~/.seer_history) - Tab completion for commands
- Loading spinners during operations
- Persistent session state
Examples
Check If Domain Is Available
|
Export Domain Status to CSV
Monitor DNS After Change
# Checks every 30 seconds for 30 minutes, shows only changes
Quick DNS Check with JSON
|
Verify SSL Certificate
|
Environment Variables
| Variable | Description |
|---|---|
RUST_LOG |
Logging level (trace, debug, info, warn, error) |
Enable debug logging:
RUST_LOG=debug
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error (invalid input, lookup failure, etc.) |
Dependencies
- seer-core - Core library
- clap - Command-line parsing
- rustyline - REPL line editing
- indicatif - Progress indicators
- colored - Terminal colors
- crossterm - Terminal control
- tokio - Async runtime
- anyhow - Error handling
Build
# Debug build
# Release build
# Run without installing