···4040export { generateName } from "https://deno.land/x/docker_names@v1.1.0/mod.ts ";
4141import * as _ from "https://cdn.skypack.dev/lodash";
4242export { _ };
4343+export { open } from "https://deno.land/x/open@v0.0.6/index.ts";
+5
main.ts
···11import { Command, brightGreen } from "./deps.ts";
22+import community from "./src/cmd/community.ts";
23import down from "./src/cmd/down.ts";
34import init from "./src/cmd/init.ts";
45import list from "./src/cmd/list.ts";
···6667 .command("list", "List all Pocketenv workspaces")
6768 .action(async function () {
6869 await list();
7070+ })
7171+ .command("community", "Join our community Discord to chat with us")
7272+ .action(async function () {
7373+ await community();
6974 })
7075 .parse(Deno.args);
7176}
+11
src/cmd/community.ts
···11+import { open } from "../../deps.ts";
22+33+export default function community() {
44+ const DISCORD_INVITE = "https://discord.gg/RxKa62YAs4";
55+ console.log(DISCORD_INVITE);
66+77+ open(DISCORD_INVITE).catch((err) => {
88+ console.error(err);
99+ Deno.exit(1);
1010+ });
1111+}