start-rpc
v0.0.60
Published
Library providing the erpc CLI
Readme
eRPC CLI
This package contains a simple js wrapper arround the eRPC binary.
Usage
To use this package, you can directly execute it via npx or bunx:
npx @erpc-cloud/cliThis will run eRPC with default config.
And create a erpc.ts file:
Commands
Every commands will run using the config:
- a
--configflag (e.g.npx @erpc-cloud/cli --config erpc.ts) - a config file placed as the first arg of the cmd (e.g.
npx @erpc-cloud/cli erpc.ts) - searching a default config
erpc.ts/erpc.js/erpc.yaml/erpc.ymlin the current directory
start
Will run eRPC with the config.
npx @erpc-cloud/cli startSame as running npx @erpc-cloud/cli without any args.
validate
Validate a config file.
npx @erpc-cloud/cli validate