Crates.io | iastconvert |
lib.rs | iastconvert |
version | 0.1.2 |
source | src |
created_at | 2022-10-05 17:23:26.174786 |
updated_at | 2022-10-05 17:31:03.072365 |
description | A rust CLI for Harvard-Kyoto to IAST conversion |
homepage | |
repository | https://github.com/caiogeraldes/iasthk-rs |
max_upload_size | |
id | 680658 |
size | 14,697 |
A rust CLI for Harvard-Kyoto to IAST conversion.
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।