Chromia CLI simplifies the development cycle and deployment of Rell dapps, where all the needed capability is available in one CLI. It's a command-line tool that provides a way to interact with the Chromia blockchain using a set of commands.
You can use the create-rell-dapp command (chr create-rell-dapp) to create a new Rell structured "Hello World" project. It creates a project config file (chromia.yml), a main module (main.rell) in the src/ folder, and test files in the src/test/ folder in your working directory.
You can use the test command (chr test) to run the tests specified in the test key in the project config file (chromia.yml).
The generate-client-stubs command (chr generate-client-stubs) generates code that can be used to communicate with the Rell backend.
You can use the repl command (chr repl) to run specific Rell methods in the shell, which can be suitable for troubleshooting.
You can use the node command (chr node) to start or update a node with your applications running on it.
You can use the deployment command (chr deployment) to deploy your dapp to a network.
The build command (chr build) creates a blockchain configuration for your dapp. By default, it gets placed in the src/build/ folder, but you can change it in the project config file (chromia.yml) in compilesource.
You can use the query command (chr query) to test and interact with a chain that's either local or deployed without using a client. You can set a path for the project config file (chromia.yml) or specify a different file using --settings. In addition to that, you can change between a local and deployed chain target with the --deployment and --local flags. The flag is --local by default.
You can use the tx (transaction) command (chr tx) in the same way as the query command, but you need to sign it with your key pair.
The keygen command (chr keygen) generates a public and private key pair.
The install command (chr install) enables you to download and use third-party Rell libraries in your dapp.