mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 18:44:17 +00:00
16 lines
422 B
JavaScript
16 lines
422 B
JavaScript
const commands = [
|
|
{
|
|
command: "clserver",
|
|
description: "Start an cloudlink server",
|
|
exec: (context, args) => {
|
|
const cloudlink = require('@ragestudio/cloudlink')
|
|
|
|
console.log(`Starting Cloudlink™ Server \n`)
|
|
const server = new cloudlink.Server({...args})
|
|
server.init()
|
|
}
|
|
}
|
|
]
|
|
|
|
//* append commands to cli
|
|
runtime.appendToCli(commands) |