From 64648fe5cfefe3be677ea336c06df203b85be19b Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Wed, 27 Sep 2023 20:00:24 +0400 Subject: [PATCH] json flag --- templates/messaging/tasks/deploy.ts.hbs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/messaging/tasks/deploy.ts.hbs b/templates/messaging/tasks/deploy.ts.hbs index f7977275..ae1d033b 100644 --- a/templates/messaging/tasks/deploy.ts.hbs +++ b/templates/messaging/tasks/deploy.ts.hbs @@ -102,9 +102,11 @@ const setInteractors = async ( } }; -task("deploy", "Deploy the contract", main).addParam( - "networks", - `Comma separated list of networks to deploy to (e.g. ${getSupportedNetworks( - "ccm" - )})` -); +task("deploy", "Deploy the contract", main) + .addParam( + "networks", + `Comma separated list of networks to deploy to (e.g. ${getSupportedNetworks( + "ccm" + )})` + ) + .addFlag("json", "Output JSON");