You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A flexible, composable string transformation CLI tool and library for Rust originally created as a parser for [television](https://github.com/alexpasmantier/television). It allows you to chain operations like split, join, slice, replace, case conversion, trim, and more, using a concise template syntax.
4
11
12
+
## Use Cases
13
+
14
+
-**Data extraction**: Parse CSV, logs, or structured text
15
+
-**Text transformation**: Clean and format strings in pipelines
16
+
-**File processing**: Extract parts of filenames or paths
17
+
-**Configuration parsing**: Process environment variables or config files
18
+
-**Shell scripting**: Quick text manipulation in scripts
19
+
5
20
## Features
6
21
7
22
-**Composable operations**: Chain multiple string operations in a single template.
@@ -16,7 +31,17 @@ A flexible, composable string transformation CLI tool and library for Rust origi
16
31
-**Stdin support**: Read input from stdin when no input argument is provided.
17
32
-**Tested**: Comprehensive test suite.
18
33
19
-
## Usage
34
+
## 📦 Crate
35
+
36
+
You can find this crate on [crates.io](https://crates.io/crates/string_pipeline):
37
+
38
+
```toml
39
+
[dependencies]
40
+
string_pipeline = "0.3.0"
41
+
```
42
+
43
+
## 🚀 Usage
44
+
20
45
21
46
### As a CLI
22
47
@@ -139,33 +164,6 @@ echo "2023-01-01 ERROR Failed to connect" | cargo run -- "{split: :1..:join: :lo
0 commit comments