Crates.io | numbered_titles_sorter |
lib.rs | numbered_titles_sorter |
version | 0.1.2 |
source | src |
created_at | 2022-08-16 10:42:02.098548 |
updated_at | 2022-08-16 11:05:56.378074 |
description | This repository contains a cli program to sort numbered titles (1., 1.1., 1.1.1, ...) in a text. |
homepage | https://github.com/mf-andres/numbered-titles-sorter |
repository | https://github.com/mf-andres/numbered-titles-sorter |
max_upload_size | |
id | 646558 |
size | 19,789 |
This repository contains a cli program to sort numbered titles (1., 1.1., 1.1.1, ...) in a text.
cargo >= 1.62.1
Listed in Cargo.toml under '[dependencies]'
Install it locally via cargo:
cargo install numbered_titles_sorter
Dowload this repository and run the tests via cargo:
cargo test
Install it and run it via cargo:
numbered_titles_sorter.exe <file>
numbered_titles_sorter.exe example_documents/example_1.txt
It will process the given file and write a processed file under the same folder named "processed_
You can also download this repository and try the cli via cargo:
Type:
cargo run -- <file>
For example:
cargo run -- example_documents/example_1.txt