From 2d50668185e97e0db17a2dc8f1af2b5a8819d0be Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Mon, 22 Feb 2021 16:12:00 +0530 Subject: [PATCH] feat: add --no-firewall --- bin/cli-flags.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/cli-flags.js b/bin/cli-flags.js index 8465bca32e..fcb468e3a7 100644 --- a/bin/cli-flags.js +++ b/bin/cli-flags.js @@ -118,10 +118,12 @@ module.exports = { }, { name: 'firewall', - type: String, + type: [String, Boolean], description: - 'Enable/disable firewall, or set hosts that are allowed to access the dev server.', + 'Enable firewall or set hosts that are allowed to access the dev server.', + negatedDescription: 'Disable firewall.', multiple: true, + negative: true, }, ], };