diff options
Diffstat (limited to 'modules/core/module-fs.js')
| -rw-r--r-- | modules/core/module-fs.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/core/module-fs.js b/modules/core/module-fs.js index c2f29c4..309010d 100644 --- a/modules/core/module-fs.js +++ b/modules/core/module-fs.js @@ -1,5 +1,9 @@ class FileSystemModule { - constructor() { this.commands = {}; this.terminal = null; } + constructor() { this.commands = {}; this.commandsMeta = { + 'trash': { argType: 'file' }, 'ls-trash': { argType: 'file' }, + 'upload': { argType: 'dir' }, 'vfs-export': { argType: 'file' }, + 'vfs-import': { argType: 'file' }, 'download': { argType: 'file' }, + }; this.terminal = null; } getHelpInfo() { return { 'ls': 'ls [path] [-la] — List files and directories', |