UNPKG

mongo-seeding-cli

Version:

The ultimate command line tool for populating your MongoDB database.

12 lines (11 loc) 639 B
import { CommandLineOption, CommandLineArguments, PartialCliOptions } from './types'; export declare const DEFAULT_INPUT_PATH = "./"; export declare const DEFAULT_EXTENSIONS: string[]; export declare const cliOptions: CommandLineOption[]; export declare const validateOptions: (options: CommandLineArguments) => void; export declare const createConfigFromOptions: (cmdArgs: CommandLineArguments) => PartialCliOptions; export declare const DB_OPTIONS_SEPARATOR = ";"; export declare const DB_OPTIONS_KEY_VALUE_SEPARATOR = "="; export declare function convertEmptyObjectToUndefined(obj: { [key: string]: unknown; }): object | undefined;