UNPKG

react-native-code-push-diff

Version:

This library builds upon the foundational strengths of the react-native-code-push library, adding advanced functionality to precisely identify and manage differences between code-push builds.

14 lines (12 loc) 445 B
import type { Argv } from 'yargs' export const bundleArgs = <T = {}>(yargs: Argv<T>) => yargs .positional('os', { type: 'string', demandOption: true, alias: ['platform'], }) .option('base', { type: 'string', demandOption: true }) .option('reinstallNodeModulesCommand', { type: 'string', alias: ['npm'] }) .option('rest', { type: 'string', default: '' }) .option('bundle-command', { type: 'string' })