You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we have the crowdin status, crowdin status translation, and crowdin status proofreading commands that allow displaying of translation or proofreading progress for a whole Crowdin project or a specific branch.
Sometimes there is a need to get a progress of a single file or directory.
I am suggesting adding the following options to the commands above:
--file - Specify a path to the file in a Crowdin project
--directory - Specify a path to the directory in a Crowdin project
In case one of these options is specified, CLI should fetch progress for a file or directory. These options can't be used simultaneously (proper validation and the error message should be foreseen).
Examples:
crowdin status --file "src/values/strings.xml"
crowdin status proofreading --directory "src/values"
The List Files and List Directories API responses already include the path parameter that represents the full file or directory path. So it should be easy to compare and find the right fileId or directoryId.
The -b/--branch parameter should be also considered.
The corresponding Unit test cases should be added for new options as well.
The text was updated successfully, but these errors were encountered:
Currently, we have the
crowdin status
,crowdin status translation
, andcrowdin status proofreading
commands that allow displaying of translation or proofreading progress for a whole Crowdin project or a specific branch.Sometimes there is a need to get a progress of a single file or directory.
I am suggesting adding the following options to the commands above:
--file
-Specify a path to the file in a Crowdin project
--directory
-Specify a path to the directory in a Crowdin project
In case one of these options is specified, CLI should fetch progress for a file or directory. These options can't be used simultaneously (proper validation and the error message should be foreseen).
Examples:
crowdin status --file "src/values/strings.xml"
crowdin status proofreading --directory "src/values"
API reference:
Notes:
path
parameter that represents the full file or directory path. So it should be easy to compare and find the rightfileId
ordirectoryId
.-b
/--branch
parameter should be also considered.The text was updated successfully, but these errors were encountered: