UNPKG

rdf-dataset-fragmenter

Version:
24 lines (23 loc) 1.13 kB
import type { ReadStream, WriteStream } from 'node:tty'; import type { IComponentsManagerBuilderOptions } from 'componentsjs'; import type { Fragmenter } from './Fragmenter'; /** * Run function for starting the fragmenter for a given config. * @param configPath - Path to a config. * @param properties - Components loader properties. */ export declare function runConfig(configPath: string, properties: IComponentsManagerBuilderOptions<Fragmenter>): Promise<void>; /** * Generic run function for starting the fragmenter from a given config * @param args - Command line arguments. * @param stdin - Standard input stream. * @param stdout - Standard output stream. * @param stderr - Standard error stream. * @param properties - Components loader properties. */ export declare function runCustom(args: string[], stdin: ReadStream, stdout: WriteStream, stderr: WriteStream, properties: IComponentsManagerBuilderOptions<Fragmenter>): void; /** * Run function for starting the server from the command line * @param moduleRootPath - Path to the module's root. */ export declare function runCli(moduleRootPath: string): void;