Skip to content

Commit

Permalink
File: rename utility to ss-decode
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Dec 4, 2023
1 parent 02d7a97 commit 21cc6ea
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 14 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,16 @@ i.e. round-robin.
We provide a small utility to decode `.ss` files:

```sh
alias decoder='cargo run --package sea-streamer-file --features=executables --bin decoder'
decoder -- --file <file> --format <format>
# or if you wish to install it
cargo install sea-streamer-file --features=executables --bin decoder
cargo install sea-streamer-file --features=executables --bin ss-decode
# local version
alias ss-decode='cargo run --package sea-streamer-file --features=executables --bin ss-decode'
ss-decode -- --file <file> --format <format>
```

Pro tip: pipe it to `less` for pagination

```sh
ss-decode --file mystream.ss | less
```

Example `log` format:
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions sea-streamer-file/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sea-streamer-file"
version = "0.3.8"
version = "0.3.9"
authors = ["Chris Tsang <[email protected]>"]
edition = "2021"
description = "🌊 SeaStreamer File Backend"
Expand Down Expand Up @@ -47,7 +47,7 @@ path = "src/bin/clock.rs"
required-features = ["executables"]

[[bin]]
name = "decoder"
name = "ssdecode"
path = "src/bin/decoder.rs"
required-features = ["executables"]

Expand Down
14 changes: 10 additions & 4 deletions sea-streamer-file/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ i.e. round-robin.
We provide a small utility to decode `.ss` files:

```sh
alias decoder='cargo run --package sea-streamer-file --features=executables --bin decoder'
decoder -- --file <file> --format <format>
# or if you wish to install it
cargo install sea-streamer-file --features=executables --bin decoder
cargo install sea-streamer-file --features=executables --bin ss-decode
# local version
alias ss-decode='cargo run --package sea-streamer-file --features=executables --bin ss-decode'
ss-decode -- --file <file> --format <format>
```

Pro tip: pipe it to `less` for pagination

```sh
ss-decode --file mystream.ss | less
```

Example `log` format:
Expand Down
14 changes: 10 additions & 4 deletions sea-streamer-file/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@
//! We provide a small utility to decode `.ss` files:
//!
//! ```sh
//! alias decoder='cargo run --package sea-streamer-file --features=executables --bin decoder'
//! decoder -- --file <file> --format <format>
//! # or if you wish to install it
//! cargo install sea-streamer-file --features=executables --bin decoder
//! cargo install sea-streamer-file --features=executables --bin ss-decode
//! # local version
//! alias ss-decode='cargo run --package sea-streamer-file --features=executables --bin ss-decode'
//! ss-decode -- --file <file> --format <format>
//! ```
//!
//! Pro tip: pipe it to `less` for pagination
//!
//! ```sh
//! ss-decode --file mystream.ss | less
//! ```
//!
//! Example `log` format:
Expand Down

0 comments on commit 21cc6ea

Please sign in to comment.