yt-dlx
Version:
Effortless Audio-Video Downloader And Streamer!
19 lines • 962 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = help;
const colors_1 = __importDefault(require("colors"));
async function help() {
try {
console.log(colors_1.default.green("@info:"), "❣️ Thank you for using", colors_1.default.green("yt-dlx."), "Consider", colors_1.default.green("🌟starring"), "the GitHub repo", colors_1.default.green("https://github.com/yt-dlx\n"));
return colors_1.default.bold.white(`@help: visit https://yt-dlx-shovit.koyeb.app`);
}
catch (error) {
const errorMessage = `${colors_1.default.red("@error:")} An unexpected error occurred: ${error instanceof Error ? error.message : String(error)}`;
console.error(errorMessage);
throw new Error(errorMessage);
}
}
//# sourceMappingURL=Help.js.map