-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi!
I noticed there’s an empty cli.rs file in the repository, which looks like a great place to implement a command-line interface (CLI) for RLN.
A CLI would make it much easier to interact with the RGB Lightning Node directly from the terminal — allowing developers and users to call core functions without needing to write custom scripts or integrate with APIs manually.
Goals
-
Provide a simple and consistent command-line interface for managing RGB Lightning Nodes.
-
Enable easy execution of common node operations, such as:
- Node initialization
- Asset issuance and transfer
- Channel management
- Querying node status and balances
Proposed Features
- Command grouping by functionality (e.g.
node,asset,channel) - Output formats: JSON (for scripting) and human-readable text (for CLI users)
- Configurable verbosity/logging levels
- Robust error handling and helpful usage guidance
Motivation
This feature will improve developer experience and usability by making RLN’s capabilities easily accessible from the terminal. It also paves the way for future automation and scripting tools built around the CLI.
Metadata
Metadata
Assignees
Labels
No labels