3 releases

0.1.4 Jun 23, 2023
0.1.1 Aug 22, 2022
0.1.0 Aug 22, 2022

#1715 in Text processing

Download history 4/week @ 2024-02-17 3/week @ 2024-02-24 65/week @ 2024-03-30 12/week @ 2024-04-06

77 downloads per month

MIT license

32KB
490 lines

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
> μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος

Dependencies

~7MB
~153K SLoC