summaryrefslogtreecommitdiff
path: root/app/client/system/system.actions.js
blob: 4c5f98ee967657978f1aa3b2e2ac628b4cab033c (plain)
1
2
3
4
5
6
7
8
9
10
11
import socket from '../socket'
import types from '../types'

export const run = (cmd) => {
  socket.system.run_system_command(cmd)
  return { type: types.system.running_command, cmd }
}

export const changeTool = (tool) => {
  return { type: types.app.change_tool, tool }
}