From 9f028ca75b7237db1cfda6690c646e81b4d337f2 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 27 May 2019 20:28:49 +0300 Subject: [PATCH] docs(cloudcmd) add yours --- User-Menu-Cookbook.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/User-Menu-Cookbook.md b/User-Menu-Cookbook.md index 4206214..0e1a56a 100644 --- a/User-Menu-Cookbook.md +++ b/User-Menu-Cookbook.md @@ -4,6 +4,7 @@ If you create file `.cloudcmd.menu.js` in the `HOME` or any top-level directory, `F2`. If you enabled it before with help of `--user-menu` command line flag. Here you can find ready to use scripts for your `user menu`. +You can combine them in any way, and also add yours 😉. ## Rename file @@ -19,8 +20,9 @@ module.exports = { ## Convert flac to mp3 -```js +Simple example of running bash scripts with help of `TerminalRun`. +```js const isMp3 = (a) => /\.mp3$/.test(a); module.exports = { @@ -62,8 +64,10 @@ module.exports = { ## Create User Menu File +This is how you can create `.cloudcmd.menu.js` file. + ```js - module.exports = { +module.exports = { 'C - Create User Menu File': async ({DOM, CloudCmd}) => { const {CurrentInfo} = DOM;