UNPKG

@vendure/cli

Version:

A modern, headless ecommerce framework

11 lines (10 loc) 634 B
import { Project, SourceFile } from 'ts-morph'; import { CliCommand, CliCommandReturnVal } from '../../../shared/cli-command'; import { VendurePluginRef } from '../../../shared/vendure-plugin-ref'; import { GeneratePluginOptions } from './types'; export declare const createNewPluginCommand: CliCommand<GeneratePluginOptions, CliCommandReturnVal>; export declare function createNewPlugin(options?: Partial<GeneratePluginOptions>): Promise<CliCommandReturnVal>; export declare function generatePlugin(project: Project, options: GeneratePluginOptions): Promise<{ plugin: VendurePluginRef; modifiedSourceFiles: SourceFile[]; }>;