diff options
Diffstat (limited to 'app/client/system/system.actions.js')
| -rw-r--r-- | app/client/system/system.actions.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/client/system/system.actions.js b/app/client/system/system.actions.js new file mode 100644 index 0000000..1732179 --- /dev/null +++ b/app/client/system/system.actions.js @@ -0,0 +1,7 @@ +import * as socket from '../socket' +import types from '../types' + +export const run = (cmd) => { + socket.run_system_command(cmd) + return { type: types.system.running_command, cmd } +} |
