mono/packages/search/src/options.ts
2025-03-11 11:28:14 +01:00

21 lines
551 B
TypeScript

import * as path from 'path'
import { substitute, resolveConfig } from '@plastichub/core'
import { pathInfo } from '@plastichub/osr-commons'
export * from './lib'
import { IOptions } from './types'
export const clone = (obj) => {
if (null == obj || "object" != typeof obj) return obj;
var copy = obj.constructor();
for (var attr in obj) {
if (obj.hasOwnProperty(attr)) copy[attr] = obj[attr];
}
return copy;
}
export const parse = (options: IOptions, argv: any): IOptions => {
return options;
}