export help function on chef object

This commit is contained in:
d98762625 committed 2018-06-19 17:10:04 +01:00
1 parent 27ee7f8592
commit e04f66f599
3 files changed
+77 -45

No files matched your search

@@ -39,7 +39,7 @@ let code = `/**
import "babel-polyfill";
import { wrap } from "./apiUtils";
import { wrap, help } from "./apiUtils";
import {
`;
@@ -79,6 +79,14 @@ code += ` };
}
const chef = generateChef();
chef.help = help([\n`;
includedOperations.forEach((op) => {
code += ` core_${op},\n`;
});
code +=`]);
`;
includedOperations.forEach((op) => {