@cloudflare/memsource-cli
TypeScript icon, indicating that this package has built-in type declarations

3.5.76 • Public • Published

memsource-cli

This is a tool for communicating with the memsource api to push and pull translation files.

Upload

To upload files use:

$ memsource up -c

This command will combine all files matching @cloudflare/intl-translations/src/locale/en-US/*.json into @cloudflare/intl-translations/src/locale/en-US-combined/combined.json and upload it to the project specified in the closest memsource.config.js files, as new jobs.

Example combined.json:

{
  "access.json": {"hello":"world"},
  "workers.json": {"hello":"back"}
}

Download

To download files use:

$ memsource down

This command will downalod and split the combined.json file into it's corresponding file chunks from jobs matching from the project specified in the closest memsource.config.js file. The split files will be put into @cloudflare/intl-translations/src/locale/${target-lang}/. Only files that are Accepted, Completed or Delivered are downloaded.

Installation

$ npm install @cloudflare/memsource-cli

Readme

Keywords

none

Package Sidebar

Install

npm i @cloudflare/memsource-cli

Weekly Downloads

953

Version

3.5.76

License

BSD-3-Clause

Unpacked Size

198 kB

Total Files

28

Last publish

Collaborators

  • lerwincf
  • lbarthonet
  • cf-media-manager
  • jacobbednarz
  • celso
  • cf-radar
  • dash_service_account
  • g4brym
  • snigdha34
  • wrangler-publisher
  • marksteyn
  • chiminator
  • sgoodhew_cf
  • terinjokes
  • third774
  • jsteinberger
  • jasnell
  • asapzacy
  • pcostanzo
  • gregbrimble
  • geelen
  • rexscaria
  • dcruz_cf
  • xuranwang
  • jculvey
  • sejoker
  • vasturiano
  • cf-ci-write
  • segments-write
  • thibmeu
  • xortive
  • gurjinder
  • cf-ci2
  • lvalenta
  • worenga