commands.md

October 6, 2020 ยท View on GitHub

CLI commands

halva-cli

Description

The Halva Command Line Interface is a unified tool to run Halva tools

Synopsis

halva-cli <command> [options]

Options

OptionDescription
--version (boolean)Show version
--help (boolean)Show help information

Commands

init

Description

Initialize a new halva project

Synopsis

init [options]

Options

OptionDescription
-p, --project-nameProject name
-f, --forceOverwriting files in the directory if names match
--version (boolean)Show version
--help (boolean)Show help information

start

Description

Build and run substrate node

Synopsis

start [options]

Options

OptionDescription
-p, --pathPath to substrate bin file
--version (boolean)Show version
--help (boolean)Show help information

test

Description

Run tests

Synopsis

test [options]

Options

OptionDescription
-p, --pathPath to test folder
-c, --configPath to configure file
-n, --networkShow help information
-b, --bailEnable bail
-v, --verboseWite debug info
-t, --timeoutTimeout time for test
--version (boolean)Show version
--help (boolean)Show help information

create

Description

Generates files based on a templates

Synopsis

create [options]

Options

OptionDescription
--version (boolean)Show version
--help (boolean)Show help information

Example

halva-cli create test token