UNPKG
fx-runtime
Version:
latest (0.1.20)
0.1.20
0.1.19
0.1.18
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
wavelet runtime, manages plugins and services.
github.com/fxwavelet/runtime
fxwavelet/runtime
fx-runtime
/
test
/
testSearchConfig.js
12 lines
(10 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
var
runtime =
require
(
'../index'
);
var
plugins = runtime.
resolvePlugins
([ __dirname +
'/plugins'
]); runtime.
start
(__dirname, plugins.
config
,
function
(
) {
console
.
log
(
'Usage:'
)
for
(
var
i =
0
; i < plugins.
help
.
length
; i++) {
console
.
log
(plugins.
help
[i]); } });