handoff-app
Version:
Automated documentation toolchain for building client side documentation from figma
26 lines (25 loc) • 525 B
text/typescript
import { Argv } from 'yargs';
export const getSharedOptions = (yargs: Argv) => {
return yargs.options({
config: {
alias: 'c',
type: 'string',
description: 'Path to config file',
},
integration : {
alias: 'i',
type: 'string',
description: 'Path to integration',
},
force: {
alias: 'f',
type: 'boolean',
description: 'Force action',
},
debug: {
alias: 'd',
type: 'boolean',
description: 'Enable debug mode',
},
});
};