1.2.0 • Published 1 year ago

@x.render/render-command v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago