UNPKG

lun-cli

Version:

generator react component using cli

33 lines (29 loc) 871 B
import { T as Template, L as LunConfig } from '../shared/lun-cli.82519b58.js'; interface CreateComponent { componentName?: string; type?: Template; } interface CreatePage { pageName: string; type?: Template; } interface CreateContext { contextName: string; type?: Template; } declare class Lun { private options; private dir; private dirFolderPage; private dirFolderContext; private cssType; setOptions(value: LunConfig): void; private printCreate; private printMissing; getFullPathComponent: (componentName: string, filename: string) => string; getPathComponentsFolder: (folder?: string) => string; createComponent({ componentName, type }: CreateComponent): void; createContext({ contextName, type }: CreateContext): void; createPage({ pageName, type }: CreatePage): void; } export { Lun };