@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
24 lines (23 loc) • 822 B
TypeScript
import { TemplateType } from "../types.js";
export declare function getTemplateQuestion(templateType: TemplateType): Promise<{
type: string;
name: string;
message: string;
choices: {
value: string;
name: string;
}[];
}>;
/**
* Asks template questions and invokes copy of templates to projectPath. Invoked via CLI so assume 'add-on-template' type
*/
declare function addTemplate(): Promise<void>;
/** Copies templates by name to gp project */
export declare function copyTemplates(templateType: TemplateType, templateNames: string[], options?: {
interactive?: boolean;
/** path to the user project */
projectPath?: string;
/** skip if being called by another command that will run install later */
skipInstall?: boolean;
}): Promise<void>;
export { addTemplate };