#conversion #cli #file #nalo #asti #harvard-kyoto #iast

app iastconvert

A rust CLI for Harvard-Kyoto to IAST conversion

3 releases

0.1.2 Oct 5, 2022
0.1.1 Oct 5, 2022
0.1.0 Oct 5, 2022

#315 in #conversion

MIT license

14KB
262 lines

iastconvert

A rust CLI for Harvard-Kyoto to IAST conversion.

Usage

The basic usage of the CLI is very straightforward:

$ iastconvert "asti nRpo nalo nAma|"
> asti nṛpo nalo nāma।

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

$ iastconvert "asti nRpo nalo nAma|" -o output.txt
$ echo output.txt
> asti nṛpo nalo nāma।

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 "asti nRpo nalo nAma|" >> input.txt
$ iastconvert -f input.txt
> asti nṛpo nalo nāma।

Dependencies

~7.5MB
~152K SLoC