seperate auth and env setup

This commit is contained in:
Darius
2025-09-26 22:44:33 +02:00
parent 42ad079589
commit 44f3f7af0b
5 changed files with 40 additions and 24 deletions

View File

@@ -1,5 +1,7 @@
import chalk from "chalk";
const verbose = process.argv.includes("--verbose");
export function logError(...args: unknown[]) {
console.log(chalk.red(args));
}
@@ -13,5 +15,7 @@ export function logSuccess(...args: unknown[]) {
}
export function logInfo(...args: unknown[]) {
console.log(chalk.cyan(args));
if (verbose) {
console.log(chalk.cyan(args));
}
}