render-command
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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 (){
        // 必须实现
    }

}

Readme

Keywords

none

Package Sidebar

Install

npm i render-command

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.75 kB

Total Files

4

Last publish

Collaborators

  • cubber