UNPKG

@gameroom/cli

Version:

A command line tool for Gameroom

10 lines (8 loc) 304 B
const { getServiceUrlAndPort, runCommand } = require('../consoleIO'), { spinner } = require('../refs') module.exports = async (options) => { const { url, port } = await getServiceUrlAndPort('vnc', options) const command = `open vnc://${url}:${port}` console.log(command) runCommand(command) }