Add in source code command
This commit is contained in:
parent
0bf9c75bdc
commit
41aac02715
|
|
@ -120,6 +120,7 @@
|
|||
help() {
|
||||
const rows = [
|
||||
["help", "show this list"],
|
||||
["code", "Shows the website source code"],
|
||||
["socials", "list all socials"],
|
||||
["<social>", "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"],
|
||||
["<social>", "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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue