1.2.0 • Published 7 months ago

@x.render/render-command v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

render-command

Introduce

An abstract base class for scaffold commands.

A specification for node scaffolding command development, init and exec methods must be implemented

Usage

npm i @x.render/render-command -S
import { RenderCommand, CommandType } from "@x.render/render-command";

class InitCommand extends RenderCommand {
  constructor(strs: string, options: Record<string, any>, cmd: CommandType) {
    super(strs, options, cmd);
    console.log(this.strs, this.options, this.cmd);
  }

  init() {}

  exec() {}
}
1.2.0

7 months ago

1.0.2

7 months ago

1.1.0

7 months ago

1.0.1

7 months ago

1.0.0

10 months ago