@onflow/flow-interaction-template-cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Flow Interaction Template CLI

Flow Interaction Template CLI

Usage

$ npm install -g @onflow/flow-interaction-template-cli
$ flix COMMAND
running command...
$ flix (--version)
@onflow/flow-interaction-template-cli/0.2.1 darwin-arm64 node-v16.16.0
$ flix --help [COMMAND]
USAGE
  $ flix COMMAND
...

Commands

flix audit PATH

Audit Interaction Template json files.

USAGE
  $ flix audit [PATH] [-f <value>]

ARGUMENTS
  PATH  Path to a folder or individual Interaction Template JSON file.

FLAGS
  -f, --flowJsonPath=<value>  Path to a flow.json configuration file.

DESCRIPTION
  Audit Interaction Template json files.

EXAMPLES
  $ flowplate audit ./src/cadence

See code: dist/commands/audit/index.ts

flix catalog PATH [PROJECTS] [SKIP_PROJECTS]

Generate Interaction Templates from NFT Catalog.

USAGE
  $ flix catalog [PATH] [PROJECTS] [SKIP_PROJECTS] [-f <value>]

ARGUMENTS
  PATH           Path to a folder to store the generated Interaction Templates.
  PROJECTS       List of NFT Catalog projects to generate Interaction Templates for (default all)
  SKIP_PROJECTS  List of NFT Catalog projects to skip when generating Interaction Templates (default none)

FLAGS
  -f, --flowJsonPath=<value>  Path to a flow.json configuration file.

DESCRIPTION
  Generate Interaction Templates from NFT Catalog.

EXAMPLES
  $ flowplate catalog

See code: dist/commands/catalog/index.ts

flix generate PATH

Generate Interaction Templates from .cdc files.

USAGE
  $ flix generate [PATH] [-f <value>]

ARGUMENTS
  PATH  Path to a folder or individual CDC file.

FLAGS
  -f, --flowJsonPath=<value>  Path to a flow.json configuration file.

DESCRIPTION
  Generate Interaction Templates from .cdc files.

EXAMPLES
  $ flowplate generate ./src/cadence

See code: dist/commands/generate/index.ts

flix serve PATH [PORT]

Serve Interaction Templates queryable by id.

USAGE
  $ flix serve [PATH] [PORT]

ARGUMENTS
  PATH  Path to a folder or individual Interaction Template JSON file.
  PORT  Port to run on.

DESCRIPTION
  Serve Interaction Templates queryable by id.

EXAMPLES
  $ flowplate serve ./src/templates

See code: dist/commands/serve/index.ts

flix verify TEMPLATEPATH AUDITORADDRESS

Verify that an Interaction Template has been audited by an Auditor.

USAGE
  $ flix verify [TEMPLATEPATH] [AUDITORADDRESS] [-f <value>]

ARGUMENTS
  TEMPLATEPATH    Path to an individual Interaction Template JSON file.
  AUDITORADDRESS  Address of an Auditor to verify if they have audited the Interaction Template.

FLAGS
  -f, --flowJsonPath=<value>  Path to a flow.json configuration file.

DESCRIPTION
  Verify that an Interaction Template has been audited by an Auditor.

EXAMPLES
  $ flowplate verify "./src/cadence/template.json" "0xABC123DEF456

See code: dist/commands/verify/index.ts

/@onflow/flow-interaction-template-cli/

    Package Sidebar

    Install

    npm i @onflow/flow-interaction-template-cli

    Weekly Downloads

    0

    Version

    0.2.1

    License

    Apache-2.0

    Unpacked Size

    226 kB

    Total Files

    82

    Last publish

    Collaborators

    • jribbink
    • nialexsan
    • bakii_agl
    • han210
    • gregorggg
    • chasefleming
    • dapperj
    • gregsantos
    • derrickpelletier
    • dapper_labs
    • jeffreydoyle
    • harry.eth
    • turbolent_flow