From c7bbef515524095e957729eac35a5b7a97619b55 Mon Sep 17 00:00:00 2001 From: Patrick Demers Date: Wed, 31 Mar 2021 07:51:50 -0500 Subject: [PATCH] feat: add disable-google-font parameter to serve command in cli (#1558) --- cli/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cli/index.ts b/cli/index.ts index 8a0747f4..ef01a101 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -72,6 +72,12 @@ YargsParser.command( type: 'boolean', }); + yargs.options('disable-google-font', { + describe: 'Disable Google Font', + type: 'boolean', + default: false, + }); + yargs.demandOption('spec'); return yargs; }, @@ -80,6 +86,7 @@ YargsParser.command( ssr: argv.ssr as boolean, title: argv.title as string, watch: argv.watch as boolean, + disableGoogleFont: argv.disableGoogleFont as boolean, templateFileName: argv.template as string, templateOptions: argv.templateOptions || {}, redocOptions: getObjectOrJSON(argv.options),