Skip to content

Allow tolgee sync to work without platform integration #191

Description

@kushuh

Since tolgee already works without the platform, can the cli be updated with options in that regard ?

Proposal

Add a --path argument to tolgee sync (similar to tolgee pull).

If --path is specified, the keys are synced with the files present inside. If --api-url or --api-key are also specified, the keys are synced remotely as well.

This option adds nothing new, in fact

tolgee sync --path $OUT_DIR ...

Should be nearly equivalent to

tolgee sync ...
tolgee pull --path $OUT_DIR ...

The big change is that sync would no longer require connection to the platform anymore, allowing (for example) for fully local projects. Providing a path should make api url / key and projectid optional.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions