# ngx-translation-cli

> A CLI application to manage translations in Angular projects.

Latest version **1.0.4** (published 2019-08-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install ngx-translation-cli
pnpm add ngx-translation-cli
yarn add ngx-translation-cli
bun add ngx-translation-cli
```

Provides the command `ngx-translation-cli`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-08-08 |
| First published | 2019-07-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 2 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | mrvrba |
| Keywords | translation, prune, angular |

## Links

- npm: https://www.npmjs.com/package/ngx-translation-cli
- Repository: https://github.com/SpellChucker/ngx-translation-cli
- Homepage: https://github.com/SpellChucker/ngx-translation-cli#readme
- Issues: https://github.com/SpellChucker/ngx-translation-cli/issues
- npm.io page: https://npm.io/package/ngx-translation-cli

## Dependencies (2)

- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [recursive-readdir](https://npm.io/package/recursive-readdir.md) ^2.2.2

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-08-08
- 1.0.3 — 2019-08-02
- 1.0.2 — 2019-07-25
- 1.0.1 — 2019-07-25
- 1.0.0 — 2019-07-24

## README

## Angular Translation CLI

A CLI application to manage translations in Angular projects.

```bash
$ ngx-translation-cli <command> <options>
```

## Installation

This package is meant to be installed globally. Install it using the following command:

```bash
$ npm i -g ngx-translation-cli
```


## Commands

### keys

This command allows you to export all keys within a translation file to stdout or an output file specified.

The `-t` option is required, `-o` is optional.

```bash
$ ngx-translation-cli keys -t <translation-file> -o <output-file>
```

### prune

This command will create a new translation file with only the used translations--essentially pruning all unused translations. This will print to stdout or you can specify an output file.

The `-t` and `-d` options are required, `-o` is optional.

```bash
$ ngx-translation-cli prune -t <translation-file> -d <project-directory> -o <output-file>
```

### help

This command will help you with understanding the commands available.

### version

This command will output the current version of the CLI tool.

---
_Source: https://npm.io/package/ngx-translation-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
