Command-Line Help for envio
This document contains the help content for the envio
command-line program.
Command Overview:
envio
Usage: envio <COMMAND>
Subcommands:
init
— Initialize a project with a templatedev
— Development commands for starting, stopping, and restarting the local environmentstop
— Stop the local environment - delete the database and stop all processes (including Docker) for the current directorycodegen
— Generate code from a config.yaml & schema.graphql filestart
— Start the indexer
envio init
Initialize a project with a template
Usage: envio init [OPTIONS]
Options:
-d
,--directory <DIRECTORY>
— The directory of the project-n
,--name <NAME>
-t
,--template <TEMPLATE>
— The file in the project containing configPossible values:
blank
,greeter
,erc20
-s
,--subgraph-migration <SUBGRAPH_MIGRATION>
— Subgraph ID to start a migration from-l
,--language <LANGUAGE>
Possible values:
javascript
,typescript
,rescript
envio dev
Development commands for starting, stopping, and restarting the local environment
Usage: envio dev
envio stop
Stop the local environment - delete the database and stop all processes (including Docker) for the current directory
Usage: envio stop
envio codegen
Generate code from a config.yaml & schema.graphql file
Usage: envio codegen [OPTIONS]
Options:
-d
,--directory <DIRECTORY>
— The directory of the projectDefault value:
.
-o
,--output-directory <OUTPUT_DIRECTORY>
— The directory within the project that generated code should output toDefault value:
generated/
-c
,--config <CONFIG>
— The file in the project containing configDefault value:
config.yaml
envio start
Start the indexer
Usage: envio start [OPTIONS]
Options:
-r
,--restart
— Clear your database and restart indexing from scratchDefault value:
false
-d
,--directory <DIRECTORY>
— The directory of the projectDefault value:
.