mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa63b4fe1c | ||
|
|
811a47fd1e |
5 changed files with 12 additions and 10 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2026.03.29, v19.9.12
|
||||||
|
|
||||||
|
feature:
|
||||||
|
- 811a47fd cloudcmd: bin: get rid of require
|
||||||
|
|
||||||
2026.03.29, v19.9.11
|
2026.03.29, v19.9.11
|
||||||
|
|
||||||
feature:
|
feature:
|
||||||
|
|
|
||||||
3
HELP.md
3
HELP.md
|
|
@ -1,4 +1,4 @@
|
||||||
# Cloud Commander v19.9.11
|
# Cloud Commander v19.9.12
|
||||||
|
|
||||||
### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
|
### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
|
||||||
|
|
||||||
|
|
@ -1114,6 +1114,7 @@ There are a lot of ways to be involved in `Cloud Commander` development:
|
||||||
|
|
||||||
## Version history
|
## Version history
|
||||||
|
|
||||||
|
- *2026.03.29*, **[v19.9.12](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.12)**
|
||||||
- *2026.03.29*, **[v19.9.11](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.11)**
|
- *2026.03.29*, **[v19.9.11](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.11)**
|
||||||
- *2026.03.29*, **[v19.9.10](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.10)**
|
- *2026.03.29*, **[v19.9.10](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.10)**
|
||||||
- *2026.03.29*, **[v19.9.9](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.9)**
|
- *2026.03.29*, **[v19.9.9](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.9)**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Cloud Commander v19.9.11 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
|
# Cloud Commander v19.9.12 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
|
||||||
|
|
||||||
### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
|
### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import process from 'node:process';
|
import process from 'node:process';
|
||||||
import {createRequire} from 'node:module';
|
|
||||||
import {promisify} from 'node:util';
|
import {promisify} from 'node:util';
|
||||||
import {tryToCatch} from 'try-to-catch';
|
import {tryToCatch} from 'try-to-catch';
|
||||||
import parse from 'yargs-parser';
|
import parse from 'yargs-parser';
|
||||||
|
|
@ -15,7 +14,6 @@ import Info from '../package.json' with {
|
||||||
};
|
};
|
||||||
|
|
||||||
process.on('unhandledRejection', exit);
|
process.on('unhandledRejection', exit);
|
||||||
const require = createRequire(import.meta.url);
|
|
||||||
|
|
||||||
const isUndefined = (a) => typeof a === 'undefined';
|
const isUndefined = (a) => typeof a === 'undefined';
|
||||||
|
|
||||||
|
|
@ -30,8 +28,6 @@ const config = createConfig({
|
||||||
configPath,
|
configPath,
|
||||||
});
|
});
|
||||||
|
|
||||||
const DIR_SERVER = '../server/';
|
|
||||||
|
|
||||||
const maybeRoot = (a) => {
|
const maybeRoot = (a) => {
|
||||||
if (a === '.')
|
if (a === '.')
|
||||||
return process.cwd();
|
return process.cwd();
|
||||||
|
|
@ -180,7 +176,7 @@ async function main() {
|
||||||
return exit(error);
|
return exit(error);
|
||||||
|
|
||||||
if (args.repl)
|
if (args.repl)
|
||||||
repl();
|
await repl();
|
||||||
|
|
||||||
validate.columns(args.columns);
|
validate.columns(args.columns);
|
||||||
validate.theme(args.theme);
|
validate.theme(args.theme);
|
||||||
|
|
@ -339,9 +335,9 @@ async function help() {
|
||||||
console.log('\nGeneral help using Cloud Commander: <%s>', url);
|
console.log('\nGeneral help using Cloud Commander: <%s>', url);
|
||||||
}
|
}
|
||||||
|
|
||||||
function repl() {
|
async function repl() {
|
||||||
console.log('REPL mode enabled (telnet localhost 1337)');
|
console.log('REPL mode enabled (telnet localhost 1337)');
|
||||||
require(`${DIR_SERVER}repl`);
|
await import('../server/repl.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkUpdate() {
|
async function checkUpdate() {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cloudcmd",
|
"name": "cloudcmd",
|
||||||
"version": "19.9.11",
|
"version": "19.9.12",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
||||||
"description": "File manager for the web with console and editor",
|
"description": "File manager for the web with console and editor",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue