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 } }