Files
enm-cli/lib/applications/TopologyBrowser/commands/scripting.js
Vyacheslav.Sviridov e6d58f912b websocket tools
2023-01-02 16:20:01 +06:00

14 lines
350 B
JavaScript
Executable File

async function scripting() {
const axiosConfig = {
text: 'Launching Scripting Shell...',
method: 'get',
url: this.amosUrl,
}
const response = await this.httpClient.request(axiosConfig)
await this.webSocketSession(response.config.headers, '/scripting-terminal-ws/command', { command: 'scripting' })
}
module.exports = scripting