mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 17:29:27 +00:00
feature(cloudcmd) add progress of pack/extract operations
This commit is contained in:
parent
6081f7a1c4
commit
450c2598fa
5 changed files with 118 additions and 77 deletions
|
|
@ -24,6 +24,7 @@
|
|||
dword = require('dword'),
|
||||
spero = require('spero'),
|
||||
remedy = require('remedy'),
|
||||
ishtar = require('ishtar'),
|
||||
|
||||
root = function() {
|
||||
return config('root');
|
||||
|
|
@ -104,6 +105,10 @@
|
|||
remedy.listen(socket, {
|
||||
root: root
|
||||
});
|
||||
|
||||
ishtar.listen(socket, {
|
||||
root: root
|
||||
});
|
||||
}
|
||||
|
||||
function cloudcmd(prefix, socket) {
|
||||
|
|
@ -171,6 +176,11 @@
|
|||
online: isOnline
|
||||
}),
|
||||
|
||||
ishtar({
|
||||
minify: isMinify,
|
||||
online: isOnline
|
||||
}),
|
||||
|
||||
mollify({
|
||||
dir : DIR_ROOT,
|
||||
is : isMinify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue