diff --git a/Cargo.lock b/Cargo.lock index d228d2b..a7f8265 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,7 +86,7 @@ checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" [[package]] name = "deepl" -version = "0.1.0" +version = "1.0.1" dependencies = [ "clap", "directories", diff --git a/README.md b/README.md new file mode 100644 index 0000000..0d731dc --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +Cli API for deepl translations. API-Key is required. + +USAGE: + deepl [OPTIONS] + +FLAGS: + -h, --help Prints help information + -V, --version Prints version information + +OPTIONS: + -s, --source The language you want to translate. Default is autodectect. + -t, --target The language your text should be tranlated to. Default is DE. +ARGS: + Text to translate diff --git a/cli.yml b/cli.yml index bd1cb8e..32d994d 100644 --- a/cli.yml +++ b/cli.yml @@ -7,14 +7,14 @@ args: short: s long: source value_name: source_lang - help: The language you want to translate. Default is DE + help: The language you want to translate. Default is autodetect. takes_value: true required: false - target: short: t long: target value_name: target_lang - help: The language your text should be tranlated to. Default is EN-US + help: The language your text should be tranlated to. Default is DE. takes_value: true required: false - INPUT: