From 7bdeab5b930052f112c1b0d9a7248c92af296c1e Mon Sep 17 00:00:00 2001 From: n1474335 Date: Fri, 16 Sep 2022 14:42:42 +0100 Subject: [PATCH] Updated Adding a new operation (markdown) --- Adding-a-new-operation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adding-a-new-operation.md b/Adding-a-new-operation.md index 6a74536..c1da0e4 100644 --- a/Adding-a-new-operation.md +++ b/Adding-a-new-operation.md @@ -4,7 +4,7 @@ The easiest way to create a new operation is to use the provided quickstart scri Once this file has been created, add your operation to the [`src/core/config/Categories.json`](https://github.com/gchq/CyberChef/blob/master/src/core/config/Categories.json) file. This determines which menu it will appear in. You can add it to multiple menus if you feel it is appropriate. -Finally, run `grunt dev` if you haven't already. If it's already running, it should automatically build a development version when you save the files. You should now be able to view your operation on the site by browsing to [`localhost:8080`](http://localhost:8080). +Finally, run `npm start` if you haven't already. If it's already running, it should automatically build a development version when you save the files. You should now be able to view your operation on the site by browsing to [`localhost:8080`](http://localhost:8080). You can write whatever code you like as long as it is encapsulated within the object you created. Take a look at [`src/core/operations/Entropy.mjs`](https://github.com/gchq/CyberChef/blob/master/src/core/operations/Entropy.mjs) for a good example.