cloudcmd v10.3.0
Modules Format
In this release of Cloud Commander
modules format was improved.
Every module in client/modules
has next format:
module.exports.init = async () => {};
module.exports.show = () => {};
module.exports.hide = () => {};
The simplest module that uses default view
and shows Hello World
can look like this:
module.exports.init = async () => {
await CloudCmd.View();
};
module.exports.show = () => {
CloudCmd.View.show('Hello World!');
};
module.exports.hide = () => {
CloudCmd.View.hide();
};
And in the future this format (or something similar) can lay down in format that can be used by independent developers to write extensions adding new features or automating regular tasks in Cloud Commander
.
This format can (and will be) changed, it is not frozen. By if you will have some ideas about improving this format your welcome to share it :)
fix
- (operation) set next file current when cannot delete
feature
- (webpack) minimize service worker size
- (terminal) move out terminal.css from view.css
- (package) fast-async v7.0.6
- (cloudcmd) import -> load.js
- (load-module) add