mirror of
https://github.com/gchq/CyberChef
synced 2025-12-23 03:33:24 +00:00
export help function on chef object
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user