Skip to content

Commit

Permalink
feat: add disable-google-font parameter to serve command in cli (Redo…
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdemers6 committed Mar 31, 2021
1 parent 4846259 commit c7bbef5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand All @@ -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),
Expand Down

0 comments on commit c7bbef5

Please sign in to comment.