diff options
Diffstat (limited to 'modules/ext/webdav.js')
| -rw-r--r-- | modules/ext/webdav.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/ext/webdav.js b/modules/ext/webdav.js index a025cb2..8096b2e 100644 --- a/modules/ext/webdav.js +++ b/modules/ext/webdav.js @@ -1,6 +1,14 @@ class WebDAVModule { constructor() { this.commands = {}; + this.commandsMeta = { + 'webdav-ls': { argType: 'file' }, 'webdav-push': { argType: 'file' }, + 'webdav-pull': { argType: 'file' }, 'webdav-rm': { argType: 'file' }, + 'webdav-mkdir': { argType: 'dir' }, 'webdav-rename': { argType: 'file' }, + 'webdav-move': { argType: 'file' }, 'webdav-backup': { argType: 'file' }, + 'webdav-restore': { argType: 'file' }, 'webdav-browser': { argType: 'file' }, + 'webdav-config': { argType: 'file' }, + }; this.terminal = null; this.config = null; // { url, username, password } this._browsingPath = '/'; |