npm package: @gleef/cli
Description: Gleef CLI to sync projects and generate translations.
Author: Gleef
Latest version: 0.1.5

cli
=================

Gleef CLI to sync projects and generate translations.


[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/cli.svg)](https://npmjs.org/package/cli)
[![Downloads/week](https://img.shields.io/npm/dw/cli.svg)](https://npmjs.org/package/cli)


<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @gleef/cli
$ gleef COMMAND
running command...
$ gleef (--version)
@gleef/cli/0.1.5 darwin-arm64 node-v22.14.0
$ gleef --help [COMMAND]
USAGE
  $ gleef COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`gleef help [COMMAND]`](#gleef-help-command)
* [`gleef init`](#gleef-init)
* [`gleef login`](#gleef-login)
* [`gleef pull`](#gleef-pull)
* [`gleef push`](#gleef-push)
* [`gleef translate`](#gleef-translate)

## `gleef help [COMMAND]`

Display help for gleef.

```
USAGE
  $ gleef help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for gleef.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.27/src/commands/help.ts)_

## `gleef init`

This command initialize helps you setup Gleef

```
USAGE
  $ gleef init

DESCRIPTION
  This command initialize helps you setup Gleef

EXAMPLES
  $ gleef init
```

_See code: [src/commands/init.ts](https://github.com/Gleef-Solutions/cli/blob/v0.1.5/src/commands/init.ts)_

## `gleef login`

Allows to login to the Gleef CLI globally

```
USAGE
  $ gleef login [-k <value>]

FLAGS
  -k, --key=<value>  API key for Gleef

DESCRIPTION
  Allows to login to the Gleef CLI globally

EXAMPLES
  $ gleef login
```

_See code: [src/commands/login/index.ts](https://github.com/Gleef-Solutions/cli/blob/v0.1.5/src/commands/login/index.ts)_

## `gleef pull`

Get latest translations from Gleef. This updates translations without adding new keys unless --add-new flag is used

```
USAGE
  $ gleef pull [-r] [-a] [-c] [-m <value>] [-n <value>]

FLAGS
  -a, --add-new            Creates new localization keys if they are not in the current locale files
  -c, --check              Checks for new translations without updating them. Returns an error if some are missing.
  -m, --match=<value>      Filter incoming new translations by key pattern
  -n, --namespace=<value>  Filter translations by namespace/file pattern (e.g., "auth" or "auth|common")
  -r, --add-in-review      Include translations that are in review (not yet approved)

DESCRIPTION
  Get latest translations from Gleef. This updates translations without adding new keys unless --add-new flag is used

EXAMPLES
  $ gleef pull
```

_See code: [src/commands/pull.ts](https://github.com/Gleef-Solutions/cli/blob/v0.1.5/src/commands/pull.ts)_

## `gleef push`

Push local translations to Gleef without AI generation

```
USAGE
  $ gleef push [-m <value>] [-n <value>] [-s]

FLAGS
  -m, --match=<value>      Filter translations by key pattern
  -n, --namespace=<value>  Filter translations by namespace/file pattern (e.g., "auth" or "auth|common")
  -s, --skip-review        Publish the translations immediately instead of creating drafts to review

DESCRIPTION
  Push local translations to Gleef without AI generation

EXAMPLES
  $ gleef push
```

_See code: [src/commands/push.ts](https://github.com/Gleef-Solutions/cli/blob/v0.1.5/src/commands/push.ts)_

## `gleef translate`

Translate using Gleef and makes keys available to your team

```
USAGE
  $ gleef translate [-m <value>] [-n <value>] [-s]

FLAGS
  -m, --match=<value>      Filter translations by key pattern
  -n, --namespace=<value>  Filter translations by namespace/file pattern (e.g., "auth" or "auth|common")
  -s, --skip-review        Publish the generated translations immediately instead of creating drafts to review

DESCRIPTION
  Translate using Gleef and makes keys available to your team

EXAMPLES
  $ gleef translate
```

_See code: [src/commands/translate.ts](https://github.com/Gleef-Solutions/cli/blob/v0.1.5/src/commands/translate.ts)_
<!-- commandsstop -->