Closed aymenha closed 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
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 thebranch
command is unknown. The current command supported by the cli (v2.5.1) appears to bephrase branches create --project_id <project_id> --data <data>
(data
also is not documented AFAICS)