fivem-docker-cli
Version:
Command-line tool to create and administer FiveM Servers running in Docker.
21 lines (16 loc) • 499 B
JavaScript
const {Command, flags} = require('@oclif/command')
class StartCommand extends Command {
async run() {
const {flags} = this.parse(StartCommand)
const name = flags.name || 'world'
this.log(`hello ${name} from D:\\projects\\fivem-docker-cli\\src\\commands\\start.js`)
}
}
StartCommand.description = `Describe the command here
...
Extra documentation goes here
`
StartCommand.flags = {
name: flags.string({char: 'n', description: 'name to print'}),
}
module.exports = StartCommand