From 933c566e4487806b4954c87c5c12ebcadd9abd11 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 e92bdf8c960..ae240a8cdf7 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')