This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Console color reference. | |
*/ | |
export const colorReference = { | |
Reset: "\x1b[0m", | |
Bright: "\x1b[1m", | |
Dim: "\x1b[2m", | |
Underscore: "\x1b[4m", | |
Blink: "\x1b[5m", | |
Reverse: "\x1b[7m", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Builds commands and options for a Commander.js program object using an array of command objects. | |
* @param {Object[]} commands - An array of command objects, where each object represents a command with its options. | |
* @param {string} commands.name - The name of the command. | |
* @param {string} commands.description - The description of the command. | |
* @param {Object[]} commands.options - An array of option objects for the command. | |
* @param {string} commands.options.flags - The flags for the option. | |
* @param {string} commands.options.description - The description of the option. | |
* @param {function} commands.action - The action function for the command. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"github": "https://api.github.com/repos/:owner/:repo", | |
"gitlab": "https://gitlab.com/api/v4/projects/:repo", | |
"bitbucket": "https://api.bitbucket.org/2.0/repositories/:owner/:repo", | |
"azuredevops": "https://dev.azure.com/:owner/repositories/:repo", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* mail.js | |
* 2023-03-24 | |
* Timothy Phillips | |
*/ | |
const nodemailer = require("nodemailer"); | |
const mg = require("nodemailer-mailgun-transport"); | |
const MAILGUN_USERNAME = process.env.MAILGUN_USERNAME; | |
const domain = process.env.MAILGUN_DOMAIN; |