mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(cloudcmd) remove --progress option, make always enabled
This commit is contained in:
parent
e0df785ece
commit
6e4bedca2d
7 changed files with 1 additions and 18 deletions
3
HELP.md
3
HELP.md
|
|
@ -82,7 +82,6 @@ Cloud Commander supports the following command-line parameters:
|
|||
| `--prefix` | set url prefix
|
||||
| `--prefix-socket` | set prefix for url connection
|
||||
| `--port` | set port number
|
||||
| `--progress` | show progress of file operations
|
||||
| `--confirm-copy` | confirm copy
|
||||
| `--confirm-move` | confirm move
|
||||
| `--open` | open web browser when server starts
|
||||
|
|
@ -117,7 +116,6 @@ Cloud Commander supports the following command-line parameters:
|
|||
| `--no-name` | set default tab name in web browser
|
||||
| `--no-keys-panel` | hide keys panel
|
||||
| `--no-one-file-panel` | show two file panels
|
||||
| `--no-progress` | do not show progress of file operations
|
||||
| `--no-confirm-copy` | do not confirm copy
|
||||
| `--no-confirm-move` | do not confirm move
|
||||
| `--no-config-dialog` | disable config dialog
|
||||
|
|
@ -398,7 +396,6 @@ Here's a description of all options:
|
|||
"root" : "/", // root directory
|
||||
"prefix" : "", // url prefix
|
||||
"prefixSocket" : "", // prefix for socket connection
|
||||
"progress" : true, // show progress of file operations
|
||||
"confirmCopy" : true, // confirm copy
|
||||
"confirmMove" : true, // confirm move
|
||||
"showConfig" : false, // show config at startup
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ const args = require('minimist')(argv.slice(2), {
|
|||
'server',
|
||||
'online',
|
||||
'open',
|
||||
'progress',
|
||||
'config-dialog',
|
||||
'config-auth',
|
||||
'console',
|
||||
|
|
@ -94,7 +93,6 @@ const args = require('minimist')(argv.slice(2), {
|
|||
'username' : env('username') || config('username'),
|
||||
'root' : choose(env('root'), config('root')),
|
||||
'prefix' : config('prefix'),
|
||||
'progress' : config('progress'),
|
||||
'console' : choose(env.bool('console'), config('console')),
|
||||
'contact' : choose(env.bool('contact'), config('contact')),
|
||||
'terminal' : choose(env.bool('terminal'), config('terminal')),
|
||||
|
|
@ -159,7 +157,6 @@ function main() {
|
|||
config('online', args.online);
|
||||
config('open', args.open);
|
||||
config('username', args.username);
|
||||
config('progress', args.progress);
|
||||
config('console', args.console);
|
||||
config('syncConsolePath', args['sync-console-path']);
|
||||
config('showFileName', args['show-file-name']);
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ module.exports.init = promisify((callback) => {
|
|||
exec.series([
|
||||
DOM.loadSocket,
|
||||
async (callback) => {
|
||||
if (!config('progress') || config('dropbox'))
|
||||
if (config('dropbox'))
|
||||
return callback();
|
||||
|
||||
const {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
"root": "/",
|
||||
"prefix": "",
|
||||
"prefixSocket": "",
|
||||
"progress": true,
|
||||
"contact": true,
|
||||
"confirmCopy": true,
|
||||
"confirmMove": true,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
"--prefix ": "set url prefix",
|
||||
"--prefix-socket ": "set prefix for socket connection",
|
||||
"--port ": "set port number",
|
||||
"--progress ": "show progress of file operations",
|
||||
"--confirm-copy ": "confirm copy",
|
||||
"--confirm-move ": "confirm move",
|
||||
"--open ": "open web browser when server started",
|
||||
|
|
@ -51,7 +50,6 @@
|
|||
"--no-one-file-panel ": "show two file panels",
|
||||
"--no-keys-panel ": "hide keys panel",
|
||||
"--no-one-file-panel ": "show two file panels",
|
||||
"--no-progress ": "do not show progress of file operations",
|
||||
"--no-confirm-copy ": "do not confirm copy",
|
||||
"--no-confirm-move ": "do not confirm move",
|
||||
"--no-config-dialog ": "disable config dialog",
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ programs in browser from any computer, mobile or tablet device.
|
|||
--prefix set url prefix
|
||||
--prefix-socket set prefix for socket connection
|
||||
--port set port number
|
||||
--progress show progress of file operations
|
||||
--confirm-copy confirm copy
|
||||
--confirm-move confirm move
|
||||
--open open web browser when server started
|
||||
|
|
@ -73,7 +72,6 @@ programs in browser from any computer, mobile or tablet device.
|
|||
--no-name set default tab name in web browser
|
||||
--no-one-file-panel show two file panels
|
||||
--no-keys-panel hide keys panel
|
||||
--no-progress do not show progress of file operations
|
||||
--no-confirm-copy do not confirm copy
|
||||
--no-confirm-move do not confirm move
|
||||
--no-contact disable contact
|
||||
|
|
|
|||
|
|
@ -146,12 +146,6 @@
|
|||
<input data-name="js-confirmMove" type="checkbox" {{ confirmMove }}>
|
||||
Confirm Move
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<input data-name="js-progress" type="checkbox" {{ progress }}>
|
||||
Progress
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue