Skip to main content

crowdin upload sources

Description​

Upload source files to a Crowdin project

Synopsis​

crowdin (upload|push) sources [CONFIG OPTIONS] [OPTIONS]

Options​

-b, --branch=…
Specify branch name. Default: none

--label=…
Attach labels to strings (multiple labels can be specified)

--delete-obsolete
Delete obsolete files and folders from the Crowdin project that no longer match the source configuration or have been deleted locally

--[no-]auto-update
Specify whether to update existing source files in the Crowdin project or only upload new ones. Updates by default

--excluded-language=…
Specify languages the sources should not be translated into. Can be specified multiple times

-V, --version
Display version information and exit

-h, --help
Display help message and exit

--no-progress
Disable progress on executed command

-v, --verbose
Provide more information about the command execution

--no-colors
Disable colors and styles

-c, --config=…
Specify a path to the configuration file. Default: crowdin.yml or crowdin.yaml

--identity=…
Specify a path to user-specific credentials

--tree
List contents of directories in a tree-like format in dryrun mode

--dryrun
Print a command output without execution

--plain
Provide plain, processable output

Config Options​

-T, --token=…
Personal access token required for authentication

--base-url=…
Base URL of Crowdin server for API requests execution

--base-path=…
Path to your project directory on a local machine

-i, --project-id=…
Numeric ID of the project

-s, --source=…
Path to the source files

-t, --translation=…
Path to the translation files

--dest=…
Specify file name in Crowdin

--[no-]preserve-hierarchy
Choose whether to save the directory hierarchy in the Crowdin project