What's new?
- add
--plaintext
as CLI argument (Establish GRPC connection in plaintext) - improve logic for
boolean
CLI arguments- throw error if
https://
is used andplaintext
istrue
- throw error if
- make
pkg
optional arguments if not provided
const pkg = {
name: "substreams-sink",
version: "0.0.1",
description: "Substreams Sink long description",
}
// Setup CLI using Commander
const program = commander.program(pkg);
const command = commander.addRunOptions(program);
OR
// Setup CLI using Commander
const program = commander.program();
const command = commander.addRunOptions(program);
What's Changed
- improve CLI arguments & add plaintext by @DenisCarriere in #31
Full Changelog: v0.15.2...v0.16.0