open-index/open-npm huggingface dataset:
npm package: @ledgerhq/vault-cli
Description: A various utility command-line for Vault development
Latest version: 2.4.19

# `cli`

A various utility command-line for Vault development.

## Installation

```command
pnpm add --global @ledgerhq/vault-cli
```

or

```command
yarn global add @ledgerhq/vault-cli
```

or

```command
npm i -g @ledgerhq/vault-cli
```

## Usage

```command
ledger-vault <COMMAND>
```

### Commands

```
bake          Put gate in predefined state
create        Create entities (users, groups, accounts, transactions...)
get           Query entities
device        Manage device (eg: install app)
drain         Drain full gate data
receive       Display receive address for given account
```

### Global options

```
--debug          Print debug messages
-v, --version    Show version
-h, --help       Show help (can be used globally or with a command)
```

## bake

```command
ledger-vault bake <manifest.json> [options]
```

### Options

```
-p, --preset string   Available presets: empty, beatles
-g, --gate string     Target gate $VAULT_GATE_URL (default: https://localhost:8443/gate/minivault)
-s, --salt <salt>     Salt used to generate devices seeds $VAULT_SALT
```

### Manifest

The manifest file represents the state we want to apply to the Vault.

You can use many manifests (`empty`, `beatles`, etc). Or you can pass a custom manifest file, which should be formatted like this one: [beatles](./src/manifests/beatles.json)