Socket
Book a DemoInstallSign in
Socket

@onflow/flow-interaction-template-cli

Package Overview
Dependencies
Maintainers
11
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/flow-interaction-template-cli

Flow Interaction Template CLI

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
11
Created
Source

Flow Interaction Template CLI

Flow Interaction Template CLI

  • Usage
  • Commands

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

Keywords

flix

FAQs

Package last updated on 23 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts