@clickup/pg-microsharding
Version:
Microshards support for PostgreSQL
14 lines • 832 B
TypeScript
declare const ARGS: {
readonly string: readonly ["lib-schema", "shard", "shards", "schema", "factor", "from", "to", "deactivate-sql", "max-replication-lag-sec", "parallelism", "dsn", "dsns", "decommission", "decomission", "activate", "activate-on-destination", "weight-sql", "migrate-cmd", "schema-name-fmt"];
readonly boolean: readonly ["verbose", "wait", "skip-config", "json", "validate-fks"];
};
export type Args = Record<"_", string[]> & Record<(typeof ARGS)["string"][number], string | undefined> & Record<(typeof ARGS)["boolean"][number], boolean | undefined> & {
["--"]: string[];
};
/**
* An improved version of minimist parsing that also populates the _ array with
* "unknown" args and options.
*/
export declare function parseArgs(argsIn: string[]): Args;
export {};
//# sourceMappingURL=parseArgs.d.ts.map