From 5b4968b17a9b666058647cb5391d8b1fdac7747f Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 7 Apr 2021 10:31:22 +0530 Subject: [PATCH] remixd version option --- libs/remixd/src/bin/remixd.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/remixd/src/bin/remixd.ts b/libs/remixd/src/bin/remixd.ts index e92bdf8c96..ae240a8cdf 100644 --- a/libs/remixd/src/bin/remixd.ts +++ b/libs/remixd/src/bin/remixd.ts @@ -26,6 +26,9 @@ function startService (service: S, callback: (ws: WS } (async () => { + const { version } = require('../package.json') + program.version(version, '-v, --version') + program .usage('-s ') .description('Provide a two-way connection between the local computer and Remix IDE')