Commit efc02fa1 authored by nanahira's avatar nanahira

add help

parent 752112e6
Pipeline #13864 passed with stages
in 2 minutes and 41 seconds
...@@ -4,6 +4,7 @@ import ConsolePlugin from '@koishijs/plugin-console'; ...@@ -4,6 +4,7 @@ import ConsolePlugin from '@koishijs/plugin-console';
import SandboxPlugin from '@koishijs/plugin-sandbox'; import SandboxPlugin from '@koishijs/plugin-sandbox';
import * as DatabasePlugin from '@koishijs/plugin-database-memory'; import * as DatabasePlugin from '@koishijs/plugin-database-memory';
import CachePlugin from '@koishijs/plugin-cache-lru'; import CachePlugin from '@koishijs/plugin-cache-lru';
import * as Help from '@koishijs/plugin-help';
import ExtrasInDev from './extras'; import ExtrasInDev from './extras';
const app = new App({ const app = new App({
...@@ -12,6 +13,8 @@ const app = new App({ ...@@ -12,6 +13,8 @@ const app = new App({
prefix: '.', prefix: '.',
}); });
app.plugin(Help);
// Console and sandbox // Console and sandbox
app.plugin(SandboxPlugin); app.plugin(SandboxPlugin);
app.plugin(ConsolePlugin, { app.plugin(ConsolePlugin, {
......
...@@ -20,6 +20,7 @@ npm install --save-dev \ ...@@ -20,6 +20,7 @@ npm install --save-dev \
webpack-cli \ webpack-cli \
ws \ ws \
ts-node \ ts-node \
@koishijs/plugin-help \
@koishijs/plugin-console \ @koishijs/plugin-console \
@koishijs/plugin-sandbox \ @koishijs/plugin-sandbox \
@koishijs/plugin-database-memory \ @koishijs/plugin-database-memory \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment