@coat/cli
Version:
TODO: See #3
21 lines (20 loc) • 708 B
TypeScript
/**
* Trims the project name.
* Only exported for testing
*
* @param projectName The project name that should be trimmed
*/
export declare function sanitizeProjectName(projectName: string): string;
/**
* Validates that the project name can be used for the coat manifest.
* Only exported for testing.
*
* @param projectName The project name that should be validated
*/
export declare function validateProjectName(projectName: string): boolean;
/**
* Prompts for the project name for the coat project that will be created.
*
* @param suggestedName An optional suggested name that the user will be prompted with
*/
export declare function getProjectName(suggestedName?: string): Promise<string>;