Skip to main content

crowdin distribution add

Description

Add a new distribution

Synopsis

crowdin distribution add <name> [CONFIG OPTIONS] [OPTIONS]

Arguments

<name>
Distribution name

Options

--export-mode=
Distribution export mode. Supported modes: default, bundle

--file=
Path to the file in the Crowdin project. Can be specified multiple times

--bundle-id=
Bundle ID. Can be specified multiple times. Requires 'export-mode' to be set to 'bundle'

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

-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

--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

Examples

Add a new distribution with the default export mode and the src/values/strings.xml file:

crowdin distribution add "Android" --export-mode default --file src/values/strings.xml

Add a new distribution with the default export mode and the src/values/strings.xml file on the main branch:

crowdin distribution add "Android" --export-mode default --branch main --file src/values/strings.xml

Add a new distribution with the bundle export mode:

crowdin distribution add "iOS Bundle" --export-mode bundle --bundle-id 19

See the crowdin bundle list command to get the list of bundles including their IDs.