phrase / phrase-cli

CLI for the Phrase API
https://developers.phrase.com
MIT License
42 stars 6 forks source link

Branches CLI documentation #112

Closed aymenha closed 1 year ago

aymenha commented 1 year ago

The documentation for working with branches (See this page) seems to be incorrect/outdated; It's stated to use phrase branch create --name <branch_name> whereas the branch command is unknown. The current command supported by the cli (v2.5.1) appears to be phrase branches create --project_id <project_id> --data <data> (data also is not documented AFAICS)

github-actions[bot] commented 1 year ago

Hello there,

Thanks for reaching out to us.

The phrase branch create --name <branch_name> is indeed outdated as you pointed out. I asked the team responsible for handling documentation to update this information in the Help Center. Thank you for bringing this up!

The API documentation is already up-to-date and lists the correct command: phrase branches create --project_id <project_id> --data <data> (data is also documented here): https://developers.phrase.com/api/#post-/projects/-project_id-/branches

Thank you once again and have a great day!

Best, Domenica from the Phrase Technical Support Team

Comment by Domenica