diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-01 03:30:39 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-01 03:30:39 +0200 |
| commit | 964ac7009e6db5a06233bdc07fa63778eebf2db7 (patch) | |
| tree | 960ceb019514f960a6597b9b282baf4d5cd77607 /app/client/system/system.actions.js | |
| parent | dd31a7b9a3af167808b04ffe2af3a66af8b17c33 (diff) | |
async commands!!
Diffstat (limited to 'app/client/system/system.actions.js')
| -rw-r--r-- | app/client/system/system.actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/client/system/system.actions.js b/app/client/system/system.actions.js index 4c5f98e..a318d68 100644 --- a/app/client/system/system.actions.js +++ b/app/client/system/system.actions.js @@ -6,6 +6,11 @@ export const run = (cmd) => { return { type: types.system.running_command, cmd } } +export const listDirectory = (opt) => { + socket.system.list_directory(opt) + return { type: types.system.listing_directory, opt } +} + export const changeTool = (tool) => { return { type: types.app.change_tool, tool } }
\ No newline at end of file |
