The Halva Command Line Interface is a unified tool to run Halva tools
halva-cli <command> [options]
Option | Description |
---|---|
--version (boolean) | Show version |
--help (boolean) | Show help information |
Initialize a new halva project
init [options]
Option | Description |
---|---|
-p, --project-name | Project name |
-f, --force | Overwriting files in the directory if names match |
--version (boolean) | Show version |
--help (boolean) | Show help information |
Build and run substrate node
start [options]
Option | Description |
---|---|
-p, --path | Path to substrate bin file |
--version (boolean) | Show version |
--help (boolean) | Show help information |
Run tests
test [options]
Option | Description |
---|---|
-p, --path | Path to test folder |
-c, --config | Path to configure file |
-n, --network | Show help information |
-b, --bail | Enable bail |
-v, --verbose | Wite debug info |
-t, --timeout | Timeout time for test |
--version (boolean) | Show version |
--help (boolean) | Show help information |
Generates files based on a templates
create [options]
Option | Description |
---|---|
--version (boolean) | Show version |
--help (boolean) | Show help information |
halva-cli create test token