Smartcat CLI (developer portal)

Binary Downloads (latest version)

Per-folder configuration file

General syntax

Command

Details

login

Authorize in Smartcat

init

Initialize local project configuration file

import

Import files to keys collection

export

Export keys collection to files

upload

Upload files to Smartcat

download

Download source/target files from Smartcat

project

Commands for manipulating Smartcat projects

pull

Pull step of synchronization process.

push

Push step of synchronization process.

Option

Details

h, --help

Prints help information

v, --version

Prints version information

Configuration

  1. Global configuration. It is stored in %APP\_DATA%/smartcat/config.json

  1. Local configuration is taken from a file called.smartcat (or smartcat.json) in a current directory. The file has the following format:

  1. Environment variables:

  1. Command-line parameters (see Global CLI options )

Global CLI options

Main options

  1. -s|--server - sets current Smartcat server. Optional

  2. -w|--workspace - sets current Smartcat workspace ID. Optional

  3. -p|--project - sets current Smartcat project id. Optional

  4. -t|--api-token - sets current Smartcat API token. Optional

Other options

  1. -g|--global - ignore local configuration and use global one. Optional

  2. -c|--config - specifies path to config file. Optional

Authentication

Getting started