Skip to content

Vara-Lab/VaraLab-Nestjs-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI IDL to NestJS

CLI that create a nestjs server from a given .idl file to interact with Vara Network.

Note: Your contract needs the Keyring service from Vara Lab to build your nestjs server.

How to use

Basic usage

Basic cli command to create the nestjs server, he server will be in the generated-server directory.

npx varalab-nestjs ./example.idl

Use with specific directory

cli command to specify the directory where the nestjs server will be located, in both cases my-server:

npx varalab-nestjs ./example.idl --output my-server
npx varalab-nestjs ./example.idl -o my-server

Instalation

You can install it to run locally the cli with the next command:

npm i -g varalab-nestjs

About

cli that generates a nestjs server from an idl file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors