feature(distribute) add ability to import config from remote export server

This commit is contained in:
coderaiser 2018-08-17 15:06:45 +03:00
parent b8e4f9659a
commit 2ad2fc4023
20 changed files with 856 additions and 22 deletions

View file

@ -29,6 +29,13 @@
"terminalPath": "",
"showConfig": false,
"vim": false,
"columns": "name-size-date-owner-mode"
"columns": "name-size-date-owner-mode",
"export": false,
"exportToken": "root",
"import": false,
"importToken": "root",
"importUrl": "http://localhost:8000",
"importListen": false,
"log": true
}

View file

@ -28,12 +28,19 @@
"--terminal-path ": "set terminal path",
"--vim ": "enable vim hot keys",
"--columns ": "set visible columns",
"--export ": "enable export of config through a server",
"--export-token ": "authorization token used by export server",
"--import ": "enable import of config",
"--import-url ": "url of an export server",
"--import-token ": "authorization token used to connect to export server",
"--import-listen ": "enable listen on config updates from import server",
"--log ": "enable logging",
"--no-server ": "do not start server",
"--no-auth ": "disable authorization",
"--no-online ": "load scripts from local server",
"--no-open ": "do not open web browser when server started",
"--no-name ": "set default tab name in web browser",
"--no-one-panel ": "show two file panels",
"--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",
@ -45,5 +52,9 @@
"--no-contact ": "disable contact",
"--no-terminal ": "disable terminal",
"--no-vim ": "disable vim hot keys",
"--no-columns ": "set default visible columns"
"--no-columns ": "set default visible columns",
"--no-export ": "disable export config through a server",
"--no-import ": "disable import of config",
"--no-import-listen ": "disable listen on config updates from import server",
"--no-log ": "disable logging"
}