diff --git a/js/terminal.js b/js/terminal.js index 34c04a1..0ac04e0 100644 --- a/js/terminal.js +++ b/js/terminal.js @@ -120,6 +120,7 @@ help() { const rows = [ ["help", "show this list"], + ["code", "Shows the website source code"], ["socials", "list all socials"], ["", "show a social & ask to open it (append -open to do directly)"], ["system", "open my system website (append a person's name to open their page)"], @@ -134,6 +135,7 @@ ls() { const rows = [ ["help", "show this list"], + ["code", "Shows the website source code"], ["socials", "list all socials"], ["", "show a social & ask to open it (append -open to do directly)"], ["system", "open my system website (append a person's name to open their page)"], @@ -145,6 +147,10 @@ out += "\n\nTip: type a social's name (try 'socials') to open it."; return { text: out }; }, + code() { + window.open("https://git.gay/doughmination/clove-is-a-dev", "_blank"); + return { text: "Opening site source code..." } + }, async system(args) { const who = (args[0] || "").toLowerCase(); if (!who) {