UNPKG

qraft

Version:

A powerful CLI tool to qraft structured project setups from GitHub template repositories

35 lines 1.27 kB
import { BoxMetadata } from '../core/metadataGenerator'; import { BoxManifest } from '../types'; export interface ManifestBuilderOptions { suggestedName?: string; suggestedDescription?: string; suggestedAuthor?: string | undefined; suggestedTags?: string[] | undefined; defaultTarget?: string; suggestedRemotePath?: string; localPath?: string; } export declare class ManifestBuilder { /** * Interactive manifest building process */ buildManifest(generatedMetadata: BoxMetadata, options?: ManifestBuilderOptions): Promise<BoxManifest>; /** * Quick manifest building with minimal prompts */ buildQuickManifest(generatedMetadata: BoxMetadata, options?: ManifestBuilderOptions): Promise<BoxManifest>; /** * Generate a default remote path based on box name and local path * @param boxName Name of the box * @param localPath Local path being boxed (optional) * @returns string Default remote path */ private generateDefaultRemotePath; /** * Generate a default target directory based on box name * @param boxName Name of the box * @returns string Default target directory */ private generateDefaultTarget; } //# sourceMappingURL=manifestBuilder.d.ts.map