@o3r/amaterasu-api-spec
Version:
Commands relative to the Digital Apis
24 lines • 738 B
TypeScript
import { Context } from '@ama-terasu/core';
/** Option to create an application */
export interface CreateExtensionOptions {
/** Extension Name */
name: string;
/** Path of the folder to create the extension */
path: string;
/**
* Set default options instead of requiring input
* @default false
*/
yes?: boolean;
/** Digital Api type */
type: string;
/** Version of the base digital spec */
'spec-version': string;
}
/**
* Create an Otter Extension
* @param context Context of the command
* @param options Options
*/
export declare const createExtension: (context: Context, options: CreateExtensionOptions) => Promise<void>;
//# sourceMappingURL=create-extension.command.d.ts.map