Skip to content

Commit

Permalink
Fix and README
Browse files Browse the repository at this point in the history
  • Loading branch information
vi committed Aug 5, 2024
1 parent 2c395f6 commit 09cdb68
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# flute-cli

Simple command line app based on examples of [Flute](https://github.com/ypo/flute) library.

Does not support multicast or setting advanced parameters like FEC for now.

There are pre-built releases for some platforms.

## Example

```
$ mkdir -p qqq
$ RUST_LOG=info flutecli recv 127.0.0.1:1234 qqq/
[INFO flute_cli] Create FLUTE, write objects to "qqq/"
... (meanwhile `flutecli send 127.0.0.1:1234 Cargo.toml`)
[INFO flute::receiver::multireceiver] Create FLUTE Receiver ReceiverEndpoint { endpoint: UDPEndpoint { source_address: None, destination_group_address: "127.0.0.1", port: 1234 }, tsi: 1 }
[INFO flute::receiver::receiver] TSI=1 Attach FDT id 1
[INFO flute::receiver::writer::objectwriterfs] Create destination "qqq/" "Cargo.toml" "qqq/Cargo.toml"
File Some("qqq/Cargo.toml") is completed !
```
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct ReceiveCmd {
dir: PathBuf,

/// Maximum cache size to keep file
#[clap(long, default_value = "100_000_000")]
#[clap(long, default_value = "100000000")]
maximum_file_size: usize,
}

Expand Down

0 comments on commit 09cdb68

Please sign in to comment.