New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@recontentapp/cli

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recontentapp/cli

> Ship localized content faster without loosing engineers time

latest
Source
npmnpm
Version
0.8.1
Version published
Maintainers
0
Created
Source

Recontent.app CLI

Ship localized content faster without loosing engineers time

Installation

Recontent CLI, or recontent, is a command-line interface to Recontent for use in your terminal or your scripts.

It can be installed through npm

yarn add -D @recontentapp/cli

Configuration

Define an environment variable named RECONTENT_API_KEY to authenticate with your Recontent workspace.

An API key can be generated from your workspace settings.

Using the CLI

# List projects
recontentapp get projects

# List languages
recontentapp get languages

# List languages within a project
recontentapp get languages -p <project_id>

# List email templates within a project
recontentapp get email-templates -p <project_id>
# Export phrases & translations in all languages as JSON files
# Possible formats are json|json_nested
recontentapp export phrases -p <project_id> -f json

# Export phrases & translations for a specific language within a revision
recontentapp export phrases -p <project_id> -l <language_id>,<language_id>

# Export phrases & translations in all languages in a custom directory
recontentapp export phrases -p <project_id> -f json -o './translations/{{ languageName }}{{ fileExtension }}'

# Export an email template
recontentapp export email-templates <email_template_id> -f html -o './{{ key }}/{{ languageName }}{{ fileExtension }}'

Keywords

translations

FAQs

Package last updated on 15 Sep 2024

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