lokalise / lokalise-cli-2-go

Lokalise CLI v2
Other
108 stars 52 forks source link

Example CLI command in README incorrect #91

Open Schwusch opened 2 years ago

Schwusch commented 2 years ago

Given examples in README does not work in lokalise2 v2.6.8: https://github.com/lokalise/lokalise-cli-2-go/blob/604673f0b9bdb4faf1e94fe77a0b5ceb249f4c6c/README.md?plain=1#L96-L101 Following error is thrown:

Error: unknown command "<token>" for "lokalise2"
Run 'lokalise2 --help' for usage.

Following command does work:

lokalise2 \
    file download \
    --token <token> \
    --project-id <project_id> \
    --format json \
    --unzip-to ./locales
Git-I985 commented 1 year ago

same issue