Skip to content

Commit

Permalink
update addGlobalOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 22, 2024
1 parent dfb5aa7 commit 1400202
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions lib/commonOpts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ import { Mode } from '@hubspot/local-dev-lib/types/Files';
const i18nKey = 'lib.commonOpts';

export function addGlobalOptions(yargs: Argv) {
return yargs
.option('debug', {
alias: 'd',
default: false,
describe: i18n(`${i18nKey}.options.debug.describe`),
type: 'boolean',
})
.version(false);
yargs.version(false);
return yargs.option('debug', {
alias: 'd',
default: false,
describe: i18n(`${i18nKey}.options.debug.describe`),
type: 'boolean',
});
}

export function addAccountOptions(yargs: Argv): Argv {
Expand Down

0 comments on commit 1400202

Please sign in to comment.