UNPKG

348 BPlain TextView Raw
1import { Kernel } from '@tarojs/service'
2
3export default function config (kernel: Kernel, {
4 cmd,
5 key,
6 value,
7 json,
8 isHelp
9}: {
10 cmd: string,
11 key?: string,
12 value?: string,
13 json?: boolean,
14 isHelp?: boolean
15}) {
16 kernel.run({
17 name: 'config',
18 opts: {
19 cmd,
20 key,
21 value,
22 json,
23 isHelp
24 }
25 })
26}