Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lokalise2 key update with empty --tags doesn't clear key tags #114

Open
vlohachov opened this issue May 17, 2023 · 0 comments
Open

lokalise2 key update with empty --tags doesn't clear key tags #114

vlohachov opened this issue May 17, 2023 · 0 comments

Comments

@vlohachov
Copy link

vlohachov commented May 17, 2023

Hi, I'm using lokalise CLI v2 inside my github workflow to automate translation synchronization in my company project.

The problem I have faced is that when I invoke following command:

edited_tag=$(commands that produce comma separated list of tags)

lokalise2 --token ${{ env.LOKALISE_TOKEN }} --project-id ${{ env.LOKALISE_PROJECT_ID }} \
key update --key-id ${remote_key_id} --tags "${edited_tags}"

and edited_tags variable is empty, then key tags remain untouched.

Actual result: no tags removed for key with given id
Expected result: all tags are being removed for key with given id

Is this a bug or I'm doing something wrong using this command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant