mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 17:29:27 +00:00
feature(cloudcmd) show progress of files removing
This commit is contained in:
parent
f6dd602d2e
commit
2b7c0069bb
13 changed files with 259 additions and 203 deletions
|
|
@ -23,6 +23,7 @@
|
|||
edward = require('edward'),
|
||||
dword = require('dword'),
|
||||
spero = require('spero'),
|
||||
remedy = require('remedy'),
|
||||
|
||||
root = function() {
|
||||
return config('root');
|
||||
|
|
@ -99,6 +100,10 @@
|
|||
spero.listen(socket, {
|
||||
root: root
|
||||
});
|
||||
|
||||
remedy.listen(socket, {
|
||||
root: root
|
||||
});
|
||||
}
|
||||
|
||||
function cloudcmd(prefix, socket) {
|
||||
|
|
@ -161,6 +166,11 @@
|
|||
online: isOnline
|
||||
}),
|
||||
|
||||
remedy({
|
||||
minify: isMinify,
|
||||
online: isOnline
|
||||
}),
|
||||
|
||||
mollify({
|
||||
dir : DIR_ROOT,
|
||||
is : isMinify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue