mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
25 lines
627 B
JavaScript
25 lines
627 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
'F2 - Rename file': async ({DOM}) => {
|
|
await DOM.renameCurrent();
|
|
},
|
|
'D - Build Dev': async ({CloudCmd}) => {
|
|
await CloudCmd.TerminalRun.show({
|
|
command: 'npm run build:client:dev',
|
|
autoClose: false,
|
|
closeMessage: 'Press any button to close Terminal',
|
|
});
|
|
|
|
CloudCmd.refresh();
|
|
},
|
|
'P - Build Prod': async ({CloudCmd}) => {
|
|
await CloudCmd.TerminalRun.show({
|
|
command: 'npm run build:client',
|
|
autoClose: true,
|
|
});
|
|
|
|
CloudCmd.refresh();
|
|
},
|
|
};
|
|
|