@blockstack/clarity-cli

The Clarity CLI is used to manage Clarity smart contracts from the command line.

Usage no npm install needed!

<script type="module">
  import blockstackClarityCli from 'https://cdn.skypack.dev/@blockstack/clarity-cli';
</script>

README

Usage

$ npm install -g @blockstack/clarity-cli
$ clarity COMMAND
running command...
$ clarity (-v|--version|version)
@blockstack/clarity-cli/0.3.15 linux-x64 node-v14.17.0
$ clarity --help [COMMAND]
USAGE
  $ clarity COMMAND
...

Commands

clarity help [COMMAND]

display help for clarity

USAGE
  $ clarity help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

clarity new PROJECT

Generate new project

USAGE
  $ clarity new PROJECT

OPTIONS
  -h, --help      show CLI help
  --skip_install  Skip running `npm install` after project generation.

EXAMPLE
  $ clarity new <PROJECT_NAME>

See code: src/commands/new.ts

clarity setup

Install blockstack-core and its dependencies

USAGE
  $ clarity setup

OPTIONS
  --from_source  Compile binary from Rust source instead of downloading distributable.
  --overwrite    Overwrites an existing installed clarity-cli bin file.

EXAMPLE
  $ clarity setup

See code: src/commands/setup.ts