1.0.0 • Published 1 year ago

render-command v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

render-command

render中封装的命令类,用于实现render-base-cli中方各种命令的逻辑编写

Usage

import { Command, Json, CommandType } from 'render-command';

class InitCommand extends Command {

    constructor(other: Json, options: Json, cmd: CommandType) {
        super(other, options, cmd);
    }

    async init (){
        // 必须实现
    }

     async exec (){
        // 必须实现
    }

}