Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Kga

主类

description

其实可以像 yo [generoator]:doSomething , 但是这样就必须要发包了,不如找到配置然后引入,可以放到本地

Hierarchy

  • Kga

Index

Constructors

constructor

  • new Kga(name: string): Kga

Properties

Private _log

_log: Debug = new Debug('main')

arg

arg: Arg

config

config: Config

Methods

Private _formatPluginPath

  • _formatPluginPath(targetPath?: string, cwd: string): string
  • 或者真正的plugin 目录

    Parameters

    • Default value targetPath: string = ""

      目标path

    • cwd: string

      命令行所在目录

    Returns string

Private _parseUnknownArgv

run

  • run(): Promise<void>
  • 启动

    Returns Promise<void>

Generated using TypeDoc