mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 10:38:26 +00:00
docs(cloudcmd) add yours
parent
6b709dada9
commit
9f028ca75b
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue