crq
v0.6.3
Published
Test and Publish code nodes to the CRANQ marketplace
Downloads
1
Readme
CRQ - CRANQ CLI Client
CRQ allows you to manage CRANQ nodes via the CLI.
Installation
npm install -g crq
crq
Yarn:
yarn global add crq
crq
Usage
Init
crq init
Creates a new folder structure for creating a node definition.
Creates the files in the current working directory, or when passed a directory name as the first parameter then will create that directory and initialise there.
Examples:
crq init
crq init name
Import
crq import
Converts a CRANQ JSON file into a directory structure.
Compile
crq compile
Converts the current directory into a CRANQ JSON output. This will additionally validate the outputted JSON against the latest schema on https://schema.cranq.dev
Watch
crq watch
Creates a server that listens to changes in the editor and automatically builds and runs your code locally.
Test
crq test
Run tests in the test.js
file against the current node definition.