UNPKG

fivem-docker-cli

Version:

Command-line tool to create and administer FiveM Servers running in Docker.

21 lines (16 loc) 493 B
const {Command, flags} = require('@oclif/command') class StopCommand extends Command { async run() { const {flags} = this.parse(StopCommand) const name = flags.name || 'world' this.log(`hello ${name} from D:\\projects\\fivem-docker-cli\\src\\commands\\stop.js`) } } StopCommand.description = `Describe the command here ... Extra documentation goes here ` StopCommand.flags = { name: flags.string({char: 'n', description: 'name to print'}), } module.exports = StopCommand