mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.29k stars 97 forks source link

Feature request: Separate push and pull cli methods #361

Closed ChiefORZ closed 7 months ago

ChiefORZ commented 1 year ago

As the title insists, it would be awesome if we have control over push and pull separately. Sometimes you need to pull all translations without pushing your local changes (e.g. when pulling origin changes to create a PR automatically). And sometimes you want to push without pulling (e.g. when a feature branch gets merged into main)

PS: maybe i am missing something and the "pull" behaviour is the accent export method, but this command is only ever exporting the main language for us.

simonprev commented 7 months ago

The next version of the CLI will have the option no-local-write on the sync operation. If the export still does not export target languages, you should open a new issue with your accent.json config and your project file structure 😃