feature: cloudcmd: help: require -> import

This commit is contained in:
coderiaser 2025-07-02 17:16:39 +03:00
parent 2a97ac66fb
commit 8ccec23d6c

View file

@ -316,7 +316,11 @@ async function readConfig(name) {
}
async function help() {
const bin = require('../json/help.json');
const {default: bin} = await import('../json/help.json', {
with: {
type: 'json'
}
});
const forEachKey = await simport('for-each-key');
const currify = await simport('currify');