Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@transifex/cli

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transifex/cli

Transifex Native CLI

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
increased by0.69%
Maintainers
1
Weekly downloads
 
Created
Source

@transifex/cli

Transifex Native Javascript CLI.

Parse .js or .jsx files and scan for Transifex Native phrases. Push phrases to Transifex for localization.

Related packages: @transifex/core

Usage

$ npm install -g @transifex/cli

$ transifexjs-cli COMMAND
running command...

$ transifexjs-cli --help [COMMAND]
USAGE
  $ transifexjs-cli COMMAND
...

Commands

transifexjs-cli help [COMMAND]

Display help for transifexjs-cli

USAGE
  $ transifexjs-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

transifexjs-cli push [PATTERN]

Detect translatable strings and push content to Transifex

USAGE
  $ transifexjs-cli push [PATTERN]

ARGUMENTS
  PATTERN  [default: **/*.{js,jsx}] file pattern to scan for strings

OPTIONS
  -v, --verbose        Verbose output
  --cds-host=cds-host  CDS host URL
  --dry-run            Dry run, do not push to Transifex
  --purge              Purge content on Transifex
  --secret=secret      Native project secret
  --token=token        Native project public token

DESCRIPTION
  Parse .js or .jsx files and detect phrases marked for
  translation by Transifex Native toolkit for Javascript and
  upload them to Transifex for translation.

  To push content some environment variables must be set:
  TRANSIFEX_TOKEN=<Transifex Native Project Token>
  TRANSIFEX_SECRET=<Transifex Native Project Secret>
  (optional) TRANSIFEX_CDS_HOST=<CDS HOST>

  or passed as --token=<TOKEN> --secret=<SECRET> parameters

  Default CDS Host is https://cds.svc.transifex.net

  Examples:
  transifexjs-cli push -v
  transifexjs-cli push *.js
  transifexjs-cli push --dry-run
  transifexjs-cli push --token=mytoken --secret=mysecret
  TRANSIFEX_TOKEN=mytoken TRANSIFEX_SECRET=mysecret transifexjs-cli push

License

Licensed under Apache License 2.0, see LICENSE file.

Keywords

FAQs

Package last updated on 23 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc