export function builder()

in sqlite/src/args.ts [43:92]


export function builder(yargs: yargs.Argv): yargs.Argv {
	return yargs.
		option('v', {
			alias: 'version',
			description: 'Output the version number',
			boolean: true
		}).
		option('h', {
			alias: 'help',
			description: 'Output usage information',
			boolean: true
		}).
		option('compressOnly', {
			description: 'Only does compression. No SQLite DB generation.',
			boolean: true,
			default: false
		}).
		option('format', {
			description: 'The SQLite format. Currently only graph is supported.',
			choices: ['graph'],
			default: 'graph'
		}).
		option('delete', {
			description: 'Deletes an old version of the DB. Only valid with blob format.',
			boolean: true,
			default: false
		}).
		option('projectVersion', {
			description: 'The imported project version. Only valid with blob format.',
			string: true
		}).
		option('in', {
			description: 'Specifies the file that contains a LSIF dump.',
			string: true
		}).
		option('stdin', {
			description: 'Reads the dump from stdin.',
			boolean: true,
			default: false
		}).
		option('out', {
			description: 'The name of the SQLite DB.',
			string: true
		}).
		option('mode', {
			description: 'Whether to create a new DB or import into an existing one.',
			choices: ['create', 'import'],
			default: 'create'
		});
}