Numbered Titles Sorter

Index

  1. Overview
  2. Requirements
  3. Installation
  4. Tests
  5. Getting started:

Overview

This repository contains a cli program to sort numbered titles (1., 1.1., 1.1.1, ...) in a text.

Requirements

cargo >= 1.62.1

Listed in Cargo.toml under '[dependencies]'

Installation

Not yet installable.

Tests

Run

cargo test

Getting started

Type:

cargo run -- <file>

For example:

cargo run -- example_documents/example_1.txt

It will process the given file and write a processed file under the same folder named "processed_"