Crates.io | betaconvert |
lib.rs | betaconvert |
version | 0.1.4 |
source | src |
created_at | 2022-08-22 18:22:20.065818 |
updated_at | 2023-06-23 17:39:37.99514 |
description | A rust CLI for Betacode conversion |
homepage | |
repository | https://github.com/caiogeraldes/betacode-rs |
max_upload_size | |
id | 650510 |
size | 15,704 |
A rust CLI for Betacode conversion.
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
> μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος