outfitter
Version:
Command-line tool for equipping your development journey with configurations and fieldguides
21 lines • 975 B
TypeScript
interface ExportOptions {
output: string;
}
interface ImportOptions {
file: string;
}
/**
* Imports or exports a fieldguide configuration file based on the specified action.
*
* For 'export', writes the current local fieldguide configuration to a specified output file, including metadata and supporting legacy keys.
* For 'import', reads a configuration file, validates its structure, and prepares to initialize or update the local configuration.
*
* @param action - The operation to perform: 'export' or 'import'.
* @param options - Options for the chosen action. For 'export', specifies the output file path; for 'import', specifies the input file path.
*
* @remark
* Exits the process with code 1 if required files are missing or if the configuration format is invalid.
*/
export declare function manageFieldguideConfig(action: 'export' | 'import', options: ExportOptions | ImportOptions): Promise<void>;
export {};
//# sourceMappingURL=config.d.ts.map