betaconvert

Crates.iobetaconvert
lib.rsbetaconvert
version0.1.4
sourcesrc
created_at2022-08-22 18:22:20.065818
updated_at2023-06-23 17:39:37.99514
descriptionA rust CLI for Betacode conversion
homepage
repositoryhttps://github.com/caiogeraldes/betacode-rs
max_upload_size
id650510
size15,704
silenus (caiogeraldes)

documentation

README

betaconvert

A rust CLI for Betacode conversion.

Usage

The basic usage of the CLI is very straightforward:

$ betaconvert "mh=nin a)/eide qea\\ *phlhi+a/dew *a)xilh=os"
> μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος

The output might be stored into a file by passing the -o or --output argument:

$ betaconvert "mh=nin a)/eide qea\\ *phlhi+a/dew *a)xilh=os" -o iliad1.1.txt
$ echo iliad1.1.txt
> μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος

If needed, the -f or --file flag might be passed to assume the passed string as an input file name and not as a string to be converted.

$ echo "mh=nin a)/eide qea\\ *phlhi+a/dew *a)xilh=os" >> iliad1.1.txt
$ betaconvert -f iliad1.1.txt
> μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος
Commit count: 41

cargo fmt