From 05da1f7e4c09cbb5b09b89b9845f346f1bbc307b Mon Sep 17 00:00:00 2001 From: skdhg <46562212+skdhg@users.noreply.github.com> Date: Mon, 19 Jun 2023 19:03:57 +0545 Subject: [PATCH] feat(cli): add discord invite command --- bin/canvacord.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/canvacord.js b/bin/canvacord.js index 9f9ac599..6f11d447 100644 --- a/bin/canvacord.js +++ b/bin/canvacord.js @@ -28,6 +28,7 @@ async function main() { ${chalk.blue("help")} : shows this menu ${chalk.blue("rebuild")} ${chalk.grey(`[--force]`)} : rebuilds assets ${chalk.blue("version")} : shows canvacord version info +${chalk.blue("discord")} : canvacord discord support server invite ${chalk.blue("github")} : returns github repository url for canvacord ${chalk.cyanBright(`Canvacord v${version}`)}`; @@ -36,6 +37,7 @@ ${chalk.cyanBright(`Canvacord v${version}`)}`; return await assetsBuilder(!!getArgs("--force")); } if (getArgs("version")) return console.log(chalk.cyan(`Canvacord v${version}`)); + if (getArgs("discord")) return console.log(chalk.cyan('https://neplextech.com/discord')); if (getArgs("github")) return console.log(chalk.blue(repository.url.replace("git+", ""))); console.log(helpMessage); }