lokalise / lokalise-cli-2-go

Lokalise CLI v2
Other
108 stars 52 forks source link

Updating a key's tags requires `key_name` to be set #56

Closed tkrajacic closed 2 years ago

tkrajacic commented 3 years ago

When trying to update a key's tags

lokalise2 -t "${LOKALISE_RW_API_TOKEN}" --project-id "${LOKALISE_PROJECT_ID}" key update \
        --key-id "${key}" \
        --tags "unused"

The response is

Error: API request error 400 `key_name` parameter cannot be empty

which makes no sense.

The request has the unique key_id, which unambiguously identifies the key to update, and I do NOT want to update the key's name. Specifying the key's name here is not just redundant but can be prone to accidental modification.

The docs also do not mention that the key_name would be required.

tkrajacic commented 3 years ago

Is anyone still actually looking at those issues? It has been months for most issues here without comment… @nickustinov ?

beinarovic commented 3 years ago

Hey @tkrajacic

We had a discussion about this a while ago... Will let you know about the details in a bit.

beinarovic commented 3 years ago

@tkrajacic we have added it to the backlog, but at this point it's hard to tell when we'll get to it. Thanks for reaching out!

andrewLab-lokalise commented 2 years ago

Hey @tkrajacic, Sorry for they extremely long delay, the issue was fixed in v2.6.6