rs-string2name 0.1.0

Converts the strings to the ones like file names
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::io;
use std::process::ExitCode;

use rs_string2name::stdin2strings2slugs2stdout;

fn sub() -> Result<(), io::Error> {
    stdin2strings2slugs2stdout()
}

fn main() -> ExitCode {
    sub().map(|_| ExitCode::SUCCESS).unwrap_or_else(|e| {
        eprintln!("{e}");
        ExitCode::FAILURE
    })
}