create-react-component-library
Version:
Create react component library command line utility
15 lines (14 loc) • 340 B
TypeScript
import Listr from "listr";
export interface Options {
name: string;
example?: string;
fromGitRepo: string;
verbose: boolean;
appDir: string;
}
export default function init(options: Partial<Options> & Pick<Options, "name">): Promise<{
context: any;
tasks: Listr<any>;
appDir: string;
appName: string;
}>;