Metadata-Version: 2.1
Name: traduire-cli
Version: 0.0.1
Summary: Traduire CLI
Author-email: Matthias Kestenholz <mk@feinheit.ch>
Project-URL: Bug Tracker, https://github.com/matthiask/traduire/issues
Project-URL: Homepage, https://github.com/matthiask/traduire
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: requests

# Traduire CLI interface

First, install it:

    pipx install traduire-cli

You need a configuration file, `~/.config/traduire.toml` which contains one or
more records of the following form:

    [[project]]
    name = "..."
    token = "..."
    url = "https://traduire.example.com"
    path = "..."

The name, token, and URL are taken from your Traduire installation. The path is
the folder where your local checkout of the project resides.

Then, assuming you have your gettext `.po` files inside `project/locale` you
can do this to get the pofiles from remote or send your local pofiles to the
remote:

    trd get project/locale
    trd put project/locale
