# @niftory/cli

> The CLI for the Niftory platform.

Latest version **0.3.0** (published 2023-03-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @niftory/cli
pnpm add @niftory/cli
yarn add @niftory/cli
bun add @niftory/cli
```

Provides the command `niftory`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2023-03-08 |
| First published | 2023-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.0.0 |
| Dependencies | 23 |
| Unpacked size | 267.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Niftory |
| Maintainers | artur-niftory, sidd-niftory, aniraga-niftory |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/@niftory/cli
- Repository: https://github.com/Niftory/cli
- Issues: https://github.com/Niftory/cli/issues
- npm.io page: https://npm.io/package/@niftory/cli

## Dependencies (23)

- [ora](https://npm.io/package/ora.md) ^5.4.1
- [conf](https://npm.io/package/conf.md) ^10.2.0
- [jose](https://npm.io/package/jose.md) ^4.13.1
- [open](https://npm.io/package/open.md) ^8.4.2
- [axios](https://npm.io/package/axios.md) ^1.3.2
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [mem-fs](https://npm.io/package/mem-fs.md) ^2.3.0
- [graphql](https://npm.io/package/graphql.md) ^16.6.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.29.3
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.5
- [log-update](https://npm.io/package/log-update.md) ^4.0.0
- [mime-types](https://npm.io/package/mime-types.md) ^2.1.35
- [@oclif/core](https://npm.io/package/@oclif/core.md) ^2.1.4
- [graphql-tag](https://npm.io/package/graphql-tag.md) ^2.0.0
- [posthog-node](https://npm.io/package/posthog-node.md) ^2.4.0
- [mem-fs-editor](https://npm.io/package/mem-fs-editor.md) ^9.7.0
- [openid-client](https://npm.io/package/openid-client.md) ^5.4.0
- [json-colorizer](https://npm.io/package/json-colorizer.md) ^2.2.2
- [graphql-request](https://npm.io/package/graphql-request.md) ^4.0.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^5.2.4
- [@oclif/plugin-not-found](https://npm.io/package/@oclif/plugin-not-found.md) ^2.3.20
- [@oclif/plugin-autocomplete](https://npm.io/package/@oclif/plugin-autocomplete.md) ^2.1.0
- [typescript-graphql-request](https://npm.io/package/typescript-graphql-request.md) ^4.4.6

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2023-03-08
- 0.3.1-alpha.4 (alpha) — 2023-05-11
- 0.3.1-alpha.3 — 2023-04-19
- 0.3.1-alpha.2 — 2023-03-29
- 0.3.1-alpha.1 — 2023-03-23
- 0.3.1-alpha.0 — 2023-03-17
- 0.2.1-alpha.17 — 2023-03-08
- 0.2.1-alpha.16 — 2023-03-07
- 0.2.1-alpha.15 — 2023-03-06
- 0.2.1-alpha.14 — 2023-02-27
- 0.2.1-alpha.13 — 2023-02-27
- 0.2.1-alpha.12 — 2023-02-27
- 0.2.1-alpha.11 — 2023-02-27
- 0.2.1-alpha.10 — 2023-02-24
- 0.2.1-alpha.6 — 2023-02-21
- … 32 more at https://npm.io/package/@niftory/cli/versions

## README

![Niftory CLI logo](https://user-images.githubusercontent.com/25641935/212396560-38ba46c6-dcc4-4ebc-bb0e-da39d00700d7.png)

<!-- niftory-cli -->

| :exclamation: This package is in active development and is not ready for widespread use. |
| ---------------------------------------------------------------------------------------- |

# Niftory CLI

CLI for the Niftory platform.

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@niftory/cli.svg)](https://npmjs.org/package/@niftory/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@niftory/cli.svg)](https://npmjs.org/package/@niftory/cli)
[![License](https://img.shields.io/npm/l/@niftory/cli.svg)](https://github.com/niftory/cli/blob/main/package.json)

<!-- toc -->
* [Niftory CLI](#niftory-cli)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->
```sh-session
$ npm install -g @niftory/cli
$ niftory COMMAND
running command...
$ niftory (--version)
@niftory/cli/0.3.0 linux-x64 node-v18.14.2
$ niftory --help [COMMAND]
USAGE
  $ niftory COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`niftory app create`](#niftory-app-create)
* [`niftory app get-keys`](#niftory-app-get-keys)
* [`niftory app list`](#niftory-app-list)
* [`niftory app select`](#niftory-app-select)
* [`niftory autocomplete [SHELL]`](#niftory-autocomplete-shell)
* [`niftory contract deploy`](#niftory-contract-deploy)
* [`niftory file get ID`](#niftory-file-get-id)
* [`niftory file upload PATH`](#niftory-file-upload-path)
* [`niftory help [COMMANDS]`](#niftory-help-commands)
* [`niftory login`](#niftory-login)
* [`niftory nft get ID`](#niftory-nft-get-id)
* [`niftory nft transfer`](#niftory-nft-transfer)
* [`niftory nft withdraw`](#niftory-nft-withdraw)
* [`niftory nftmodel create`](#niftory-nftmodel-create)
* [`niftory nftmodel get ID`](#niftory-nftmodel-get-id)
* [`niftory nftmodel mint NFTMODELID`](#niftory-nftmodel-mint-nftmodelid)
* [`niftory set create TITLE`](#niftory-set-create-title)
* [`niftory set get ID`](#niftory-set-get-id)
* [`niftory set list`](#niftory-set-list)
* [`niftory wallet create`](#niftory-wallet-create)
* [`niftory wallet get IDORADDRESS`](#niftory-wallet-get-idoraddress)
* [`niftory wallet list`](#niftory-wallet-list)
* [`niftory whoami`](#niftory-whoami)

## `niftory app create`

Creates a niftory app

```
USAGE
  $ niftory app create [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Creates a niftory app

EXAMPLES
  $ niftory app create
```

## `niftory app get-keys`

Select an app from the currently authenticated apps.

```
USAGE
  $ niftory app get-keys [--appId <value>] [--appName <value> --environment testnet|mainnet] [--output json|none]

FLAGS
  --appId=<value>         The appId of the app
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Select an app from the currently authenticated apps.

EXAMPLES
  $ niftory app get-keys --appId <appId>
```

## `niftory app list`

List apps belonging to the current user

```
USAGE
  $ niftory app list [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  List apps belonging to the current user

EXAMPLES
  $ niftory app list
```

## `niftory app select`

Select an app from the currently authenticated apps.

```
USAGE
  $ niftory app select [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Select an app from the currently authenticated apps.

EXAMPLES
  $ niftory app select
```

## `niftory autocomplete [SHELL]`

display autocomplete installation instructions

```
USAGE
  $ niftory autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  shell type

FLAGS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

DESCRIPTION
  display autocomplete installation instructions

EXAMPLES
  $ niftory autocomplete

  $ niftory autocomplete bash

  $ niftory autocomplete zsh

  $ niftory autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v2.1.0/src/commands/autocomplete/index.ts)_

## `niftory contract deploy`

Deploys a contract belonging to an app with the provided appId

```
USAGE
  $ niftory contract deploy --appId <value> --blockchain <value> --contractName <value> [--appName <value>
    --environment testnet|mainnet] [--output json|none]

FLAGS
  --appId=<value>         (required) The appId of the app
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --blockchain=<value>    (required) The blockchain to deploy to. Should be one of FLOW or POLYGON
  --contractName=<value>  (required) The name of the contract
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Deploys a contract belonging to an app with the provided appId

EXAMPLES
  $ niftory contract deploy --appId <appId> --contractName <contractName> --blockchain <blockchain>
```

## `niftory file get ID`

Gets a file by ID

```
USAGE
  $ niftory file get ID [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none]

ARGUMENTS
  ID  The file to fetch

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets a file by ID

EXAMPLES
  $ niftory file get <id>
```

## `niftory file upload PATH`

Uploads a file

```
USAGE
  $ niftory file upload PATH [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none] [--name <value>] [--description <value>]

ARGUMENTS
  PATH  The path of the file to upload

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --description=<value>   A description for the file.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --name=<value>          The name of the file to upload. Defaults to its name on disk
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Uploads a file

EXAMPLES
  $ niftory file upload <path> --name <name> --description <description>
```

## `niftory help [COMMANDS]`

Display help for niftory.

```
USAGE
  $ niftory help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

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

DESCRIPTION
  Display help for niftory.
```

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

## `niftory login`

Log into the Niftory CLI.

```
USAGE
  $ niftory login [--environment testnet|mainnet] [--ignoreAppSelection]

FLAGS
  --environment=<option>  <options: testnet|mainnet>
  --ignoreAppSelection    Ignores app selection step

DESCRIPTION
  Log into the Niftory CLI.

EXAMPLES
  $ niftory login
```

_See code: [dist/commands/login.ts](https://github.com/Niftory/cli/blob/v0.3.0/dist/commands/login.ts)_

## `niftory nft get ID`

Gets an NFT by ID

```
USAGE
  $ niftory nft get ID [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none]

ARGUMENTS
  ID  The NFT to fetch

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets an NFT by ID

EXAMPLES
  $ niftory nft get <id>
```

## `niftory nft transfer`

Transfers an NFT to another address, user or wallet. This mutation requires the `userId`, `walletId' or the wallet `address` to be specified

```
USAGE
  $ niftory nft transfer [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]
    [--id <value> | --nftModelId <value>] [--userId <value> | --walletId <value> | --address <value>] [--force] [--wait]

FLAGS
  --address=<value>       The address of the Wallet to to transfer the NFT. This mutation requires the `userId`,
                          `walletId' or the wallet `address` to be specified.
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --force                 Force transfer an NFT that has failed previously.
  --id=<value>            The ID of the NFT to transfer. Only one of id or nftModelId can be used.
  --nftModelId=<value>    The nftModel to randomly select an NFT from. Only one of id or nftModelId can be used.
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>
  --userId=<value>        The ID of the AppUser to send the NFT to. This mutation requires the `userId`, `walletId' or
                          the wallet `address` to be specified.
  --wait                  Wait until the NFT transfer is complete before returning.
  --walletId=<value>      The database ID of the Wallet to send the NFT to. This mutation requires the `userId`,
                          `walletId' or the wallet `address` to be specified.

DESCRIPTION
  Transfers an NFT to another address, user or wallet. This mutation requires the `userId`, `walletId' or the wallet
  `address` to be specified

EXAMPLES
  $ niftory nft transfer --id <id> --nftModelId <nftModelId> --userId <userId> --walletId <walletId> --address <address>
```

## `niftory nft withdraw`

Withdraws an NFT to from user custodial wallet to another wallet. This mutation requires the NFT `id`, `niftoryWalletAddress` and  `receiverAddress` to be specified

```
USAGE
  $ niftory nft withdraw --id <value> --receiverAddress <value> --niftoryWalletAddress <value> [--appId <value>
    --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>                 The app ID to run the command in the context of. If not specified, defaults to the app
                                  specified at login.
  --appName=<value>               The app name to run the command in the context of. If not specified, defaults to the
                                  app specified at login.
  --environment=<option>          The environment to run the command in the context of. If not specified, defaults to
                                  the environment of the app specified at login.
                                  <options: testnet|mainnet>
  --id=<value>                    (required) The ID of the NFT to withdraw. The NFT needs to belong to a custodial
                                  wallet
  --niftoryWalletAddress=<value>  (required) The address of the niftory custodial wallet to withdraw the NFT from.
  --output=<option>               [default: json] Sets the output mode for std output
                                  <options: json|none>
  --receiverAddress=<value>       (required) The address of the external wallet to withdraw the NFT.

DESCRIPTION
  Withdraws an NFT to from user custodial wallet to another wallet. This mutation requires the NFT `id`,
  `niftoryWalletAddress` and  `receiverAddress` to be specified

EXAMPLES
  $ niftory nft withdraw --id <id> --niftoryWalletAddress <niftoryWalletAddress> --receiverAddress <receiverAddress>
```

## `niftory nftmodel create`

Creates a new NFTModel

```
USAGE
  $ niftory nftmodel create [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]
    [-t <value>]

FLAGS
  -t, --tag=<value>...    String labels to tag this NFTModel with. These will be stored in the Niftory API but will not
                          be added to the blockchain
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Creates a new NFTModel

EXAMPLES
  $ niftory nftModel create --tag <tag1>  --tag <tag2>
```

## `niftory nftmodel get ID`

Gets an NFT Model by ID

```
USAGE
  $ niftory nftmodel get ID [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none]

ARGUMENTS
  ID  The nft model to fetch

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets an NFT Model by ID

EXAMPLES
  $ niftory nftmodel get <id>
```

## `niftory nftmodel mint NFTMODELID`

Initiates minting for a given NFTModel

```
USAGE
  $ niftory nftmodel mint NFTMODELID [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none] [--quantity <value>] [--wait]

ARGUMENTS
  NFTMODELID  The NFT Model to mint

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>
  --quantity=<value>      The number of NFTs to mint. Defaults to minting all NFTs in the model. If quantity exceeds the
                          quantity defined in the model, the latter is used.
  --wait                  Wait until the NFTs are minted before returning.

DESCRIPTION
  Initiates minting for a given NFTModel

EXAMPLES
  $ niftory nftModel mint <nftModelId> --quantity <quantity>
```

## `niftory set create TITLE`

Created a new set

```
USAGE
  $ niftory set create TITLE [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none] [-t <value>]

ARGUMENTS
  TITLE  The title of the new set

FLAGS
  -t, --tag=<value>...    String labels to tag this Set with. These will be stored in the Niftory API but will not be
                          added to the blockchain
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Created a new set

EXAMPLES
  $ niftory set create <title> --tag <tag1> --tag <tag2>
```

## `niftory set get ID`

Gets a set by ID

```
USAGE
  $ niftory set get ID [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output
    json|none]

ARGUMENTS
  ID  The set to fetch

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets a set by ID

EXAMPLES
  $ niftory set get <id>
```

## `niftory set list`

Gets all sets in the app with optional filter parameters

```
USAGE
  $ niftory set list [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]
    [--title <value>] [--id <value>] [--blockchainId <value>] [--tag <value>]

FLAGS
  --appId=<value>            The app ID to run the command in the context of. If not specified, defaults to the app
                             specified at login.
  --appName=<value>          The app name to run the command in the context of. If not specified, defaults to the app
                             specified at login.
  --blockchainId=<value>...  The blockchain IDs of the NFTSets to find.
  --environment=<option>     The environment to run the command in the context of. If not specified, defaults to the
                             environment of the app specified at login.
                             <options: testnet|mainnet>
  --id=<value>...            The IDs of the NFTSets to find.
  --output=<option>          [default: json] Sets the output mode for std output
                             <options: json|none>
  --tag=<value>...           The tags in the set to find. The sets returned will contain every tag specified.
  --title=<value>            The title of the NFTSet to find.

DESCRIPTION
  Gets all sets in the app with optional filter parameters

EXAMPLES
  $ niftory set list

  $ niftory set list --title <title> 

  $ niftory set list --id <id1> --id <id2>

  $ niftory set list --tag <tag1> --tag <tag2>

  $ niftory set list --blockchainId <blockchainId1> --blockchainId <blockchainId2>
```

## `niftory wallet create`

Creates a new Niftory wallet for the current app

```
USAGE
  $ niftory wallet create [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Creates a new Niftory wallet for the current app

EXAMPLES
  $ niftory wallet create
```

## `niftory wallet get IDORADDRESS`

Gets a wallet by ID or address

```
USAGE
  $ niftory wallet get IDORADDRESS [--appId <value> --environment testnet|mainnet] [--appName <value> ]
    [--output json|none]

ARGUMENTS
  IDORADDRESS  The ID of the Niftory Wallet to fetch

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets a wallet by ID or address

EXAMPLES
  $ niftory wallet get <id>
```

## `niftory wallet list`

Gets all wallets associated with the current app.

```
USAGE
  $ niftory wallet list [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets all wallets associated with the current app.

EXAMPLES
  $ niftory wallet list
```

## `niftory whoami`

Gets the currently signed in user.

```
USAGE
  $ niftory whoami [--appId <value> --environment testnet|mainnet] [--appName <value> ] [--output json|none]

FLAGS
  --appId=<value>         The app ID to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --appName=<value>       The app name to run the command in the context of. If not specified, defaults to the app
                          specified at login.
  --environment=<option>  The environment to run the command in the context of. If not specified, defaults to the
                          environment of the app specified at login.
                          <options: testnet|mainnet>
  --output=<option>       [default: json] Sets the output mode for std output
                          <options: json|none>

DESCRIPTION
  Gets the currently signed in user.

EXAMPLES
  $ niftory whoami
```

_See code: [dist/commands/whoami/index.ts](https://github.com/Niftory/cli/blob/v0.3.0/dist/commands/whoami/index.ts)_
<!-- commandsstop -->

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