UNPKG

handoff-app

Version:

Automated documentation toolchain for building client side documentation from figma

21 lines (20 loc) 415 B
import { Argv } from 'yargs'; export const getSharedOptions = (yargs: Argv) => { return yargs.options({ config: { alias: 'c', type: 'string', description: 'Path to config file', }, force: { alias: 'f', type: 'boolean', description: 'Force action', }, debug: { alias: 'd', type: 'boolean', description: 'Enable debug mode', }, }); };