Search
Preparing search index...
The search index is not available
@kga/cli
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"plugin"
Plugin
Class Plugin
插件
description
插件主类,每个插件继承该类
Hierarchy
Plugin
Index
Constructors
constructor
Properties
arg
Options
fs
kga
Data
log
new
Files
store
Methods
destination
Path
do
Writing
template
Path
Constructors
constructor
new
Plugin
(
data
:
KgaData
)
:
Plugin
Parameters
data:
KgaData
Returns
Plugin
Properties
arg
Options
arg
Options
:
OptionDefinition
[]
= []
fs
fs
:
Editor
= editor.create(this.store)
kga
Data
kga
Data
:
KgaData
log
log
:
Debug
= new Debug('plugin')
new
Files
new
Files
:
string
[]
= []
store
store
:
Store
= memFs.create()
Methods
destination
Path
destination
Path
(
dest
?:
string
)
:
string
输出目录
Parameters
Default value
dest:
string
= ""
Returns
string
do
Writing
do
Writing
(
)
:
Promise
<
void
>
写出磁盘
Returns
Promise
<
void
>
template
Path
template
Path
(
template
?:
string
)
:
string
模版获得模版目录
Parameters
Default value
template:
string
= "templates"
Returns
string
Globals
"args"
"cli"
"config"
"debug"
"kga"
"plugin"
Plugin
constructor
arg
Options
fs
kga
Data
log
new
Files
store
destination
Path
do
Writing
template
Path
Generated using
TypeDoc
插件
插件主类,每个插件继承该类