Skip to content

Commit c3f9c78

Browse files
committed
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
1 parent bf08169 commit c3f9c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/cli_integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ async fn cli_onchain_list_transactions() {
611611

612612
let json = result.unwrap();
613613
let transactions = json["transactions"].as_array().unwrap();
614-
assert!(transactions.len() > 0);
614+
assert!(!transactions.is_empty());
615615
}
616616

617617
#[serial_test::serial]
@@ -634,7 +634,7 @@ async fn cli_onchain_list_unspents() {
634634

635635
let json = result.unwrap();
636636
let unspents = json["unspents"].as_array().unwrap();
637-
assert!(unspents.len() > 0);
637+
assert!(!unspents.is_empty());
638638
}
639639

640640
#[serial_test::serial]

0 commit comments

Comments
 (0)