mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
docs(help) User Menu: __settings
This commit is contained in:
parent
a645b9317e
commit
429045e419
1 changed files with 9 additions and 1 deletions
10
HELP.md
10
HELP.md
|
|
@ -463,8 +463,16 @@ When you press `F2` Cloud Commander will read a file `.cloudcmd.menu.js` by walk
|
|||
Let's consider example `user menu` works file:
|
||||
|
||||
```js
|
||||
const RENAME_FILE= 'Rename file';
|
||||
|
||||
module.exports = {
|
||||
'F2 - Rename file': async ({DOM}) => {
|
||||
__settings: {
|
||||
select: [
|
||||
RENAME_FILE,
|
||||
],
|
||||
run: false,
|
||||
},
|
||||
[`F2 - ${RENAME_FILE}`]: async ({DOM}) => {
|
||||
await DOM.renameCurrent();
|
||||
},
|
||||
'D - Build Dev': async ({CloudCmd}) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue