Crates.io | flw |
lib.rs | flw |
version | 0.0.3 |
source | src |
created_at | 2023-05-21 19:15:12.512844 |
updated_at | 2023-06-01 09:14:00.078018 |
description | Process text via configurable tasks |
homepage | |
repository | |
max_upload_size | |
id | 870113 |
size | 78,210 |
Process text using configurable tasks. The CLI app can read tasks from any .yml file that follow the task schema.
tasks:
- data:
- replace # command to replace text
- original # text to replace
- replace text # text to replace with
- data:
- count # command to count a word
- word # word to count
tasks:
- data:
- replace # command to replace text
- column_name # column to replace text in
- original # text to replace
- replace text # text to replace with
- data:
- replace # command to replace text
- column_name # column to replace text in
- original # text to replace
- replace text # text to replace with
Replace # on txt and csv
Count # on txt only
flw -f <path to the tasks .yml file> -i <path to input file you want to process> -t <type of file: txt or csv>
### Example for TXT
flw -f tasks.yml -i input.txt -t txt
### Example for CSV
flw -f tasks.yml -i input.csv -t csv