Closed horstmannmat closed 1 month ago
Hi @horstmannmat, thanks for raising this. These are really good points. We also have some plans to align these commands and make it more consistent and usable. As a first step I'll fix the documentation for the command
Hi @horstmannmat, we've now released the new repo syncs endpoint to manage all Git Syncs: https://developers.phrase.com/api/#get-/accounts/-account_id-/repo_syncs For all those commands the params should be --account_id
and --id
Description
There are several inconsistencies in the CLI commands and their corresponding arguments in the provided documentation. These inconsistencies have led me to confusion and errors when attempting to use the CLI tool.
This issue aims to address these inconsistencies and potentially others that might exist and to offer my assistance either by contributing to the documentation or by helping with the necessary code changes.
Affected Commands and Arguments
Command:
gitlab_syncs
(Documentation Link)gitlab_syncs
git_lab_sync
--account_id
Argument--account_id abcd1234
, while in others, it's provided as--data '{"account_id":"abcd1234"}'
.--account_id abcd1234
.Commands:
import
andhistory
--gitlab_sync_id
for theimport
andhistory
commands, but in theshow
command, it is referenced as--id
.--gitlab_sync_id
.