-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Summary
Implement a minimal CLI for apex operations and debugging.
Commands
apex start [--config path] # Start the indexer service
apex status # Show sync status, head, lag, active subscriptions
apex blob get <height> <ns> <commit> # Query a specific blob
apex blob list <height> [--ns <ns>] # List blobs at a height, optionally filtered
apex config validate [--config path] # Validate config file
apex config show [--config path] # Print resolved config with defaults
apex version # Print version and build info
Implementation
- Use
spf13/cobrafor command structure - CLI commands are thin wrappers around the JSON-RPC client (same pattern as celestia-node)
apex startis the main entrypoint that wires everything togetherapex status/apex blob getconnect to a running instance via RPC- JSON output by default,
--format tablefor human-readable
Non-goals
- No key management CLI (handled by keyring setup, see Keyring and signing for transaction submission #9)
- No P2P commands
- No interactive mode
References
- celestia-node CLI pattern: thin RPC client wrappers via cobra
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels