Skip to content

Conversation

@bitwalt
Copy link
Contributor

@bitwalt bitwalt commented Nov 6, 2025

This PR introduces a command-line interface (CLI) for the RGB Lightning Node and adds Makefile support for streamlined development workflows.
It addresses #83.

Summary of Changes

  • Introduced rln-cli as a new binary for interacting with the RGB Lightning Node.
  • Added a Makefile with targets for building, testing, and running both the CLI and node.
  • Updated Cargo.toml to include the new rln-cli package and required dependencies.
  • Enhanced README.md with CLI usage examples, setup instructions, and common commands.
  • Added a demo script to showcase typical CLI operations.
  • Implemented integration tests for key CLI commands to ensure reliable functionality.

- Introduced `rln-cli` as a new binary for interacting with the RGB Lightning Node.
- Added a Makefile for building, testing, and running the CLI and node.
- Updated `Cargo.toml` to include `rln-cli` and new dependencies.
- Enhanced `README.md` with CLI usage instructions and examples.
- Created a demo script for showcasing common CLI operations.
- Added integration tests for CLI commands to ensure functionality.

Add rln-cli command-line interface and Makefile support

- Introduced `rln-cli` as a new binary for interacting with the RGB Lightning Node.
- Added a Makefile for building, testing, and running the CLI and node.
- Updated `Cargo.toml` to include `rln-cli` and new dependencies.
- Enhanced `README.md` with CLI usage instructions and examples.
- Created a demo script for showcasing common CLI operations.
- Added integration tests for CLI commands to ensure functionality.

fix linting

Refactor CLI command formatting in integration tests

- Improved readability by adjusting the formatting of command arguments in `cli_swap_maker_init`.
- Consolidated multi-line command arguments into a more structured format for better clarity.
- Ensured consistency in the command execution calls within the integration tests.
@bitwalt bitwalt force-pushed the feat/implement-rln-cli branch from c3f9c78 to 825f56e Compare November 7, 2025 08:55
@zoedberg
Copy link
Member

Thanks, but there are tools that build CLIs automatically from the openapi spec, while this approach instead brings a lot of spec duplication and maintainance burden.

@zoedberg zoedberg closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants