quallaa-cli
Version:
Sets up core infrastructure services for AI-assisted development
25 lines • 1.16 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const error_handler_1 = require("../lib/errors/error-handler");
const update_checker_1 = require("../lib/utils/update-checker");
const credentials_1 = require("../storage/credentials");
const index_1 = require("../index");
const chalk_1 = __importDefault(require("chalk"));
async function main() {
(0, error_handler_1.setupGlobalErrorHandler)();
const credentialsAvailable = await (0, credentials_1.testCredentialStorage)();
if (!credentialsAvailable) {
console.warn(chalk_1.default.yellow('⚠️ Warning: System credential storage may not be available'));
console.warn(chalk_1.default.gray(' Some features may require re-authentication more frequently\n'));
}
await (0, update_checker_1.checkForUpdates)();
index_1.cli.parse(process.argv);
}
main().catch((error) => {
(0, error_handler_1.handleError)(error, { operation: 'main' });
});
//# sourceMappingURL=quallaa.js.map