@swell/cli
Version:
Swell's command line interface/utility
21 lines (20 loc) • 684 B
TypeScript
export interface TestTemplateOptions {
/** App id from swell.json, used for SWELL_APP_ID and settings() */
appId: string;
}
export interface WriteTestsOptions extends TestTemplateOptions {
/** Absolute path to the app root */
appPath: string;
/** Overwrite existing files if present */
overwrite: boolean;
}
export interface ScaffoldResult {
/** Files that were created or overwritten */
createdFiles: string[];
/** Files that were skipped because they already exist */
skippedFiles: string[];
/** Whether package.json was updated */
packageJsonUpdated: boolean;
/** Warning messages to display to user */
warnings: string[];
}