A CLI for DotHyphen.
As many others Rust crates you must use cargo to build DotHyphen
bin.
bash
dohy~ cargo build --target x86_64-unknown-linux-gnu --release
Change the target to build the crate in other platforms like Windows or macOS. Remove --release to build a debug version. Remember, the build output will be placed in the root of the workspace. For example,
target/x86_64-unknown-linux-gnu/release/dohy
You can use cargo:
bash
dohy~ cargo run -p dothyphen -- --translate "Hello world"
Or you can execute the binary built previously:
bash
~ ./target/x86_64-unknown-linux-gnu/release/dohy --translate "Hello world"
DoHy is available from crates.io, therefore, it can be installed using cargo:
bash
~ cargo install dohy
Use the Github Action Workflow to publish dohy
to crates.io.