faj-cli
Version:
FAJ - A powerful CLI resume builder with AI enhancement and multi-format export
39 lines • 1.57 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PublishCommand = void 0;
const chalk_1 = __importDefault(require("chalk"));
const Logger_1 = require("../../utils/Logger");
class PublishCommand {
logger;
constructor() {
this.logger = new Logger_1.Logger('PublishCommand');
}
register(program) {
program
.command('publish')
.description('Publish resume (currently disabled)')
.option('--unpublish', 'Remove resume from network')
.action(async () => {
try {
await this.showDisabledMessage();
}
catch (error) {
this.logger.error('Operation failed', error);
process.exit(1);
}
});
}
async showDisabledMessage() {
console.log(chalk_1.default.yellow('\n⚠ Network publishing is currently disabled.'));
console.log('\nThis feature has been temporarily removed to focus on local functionality.');
console.log('\nYou can still:');
console.log(' • Export your resume locally: ' + chalk_1.default.cyan('faj resume export'));
console.log(' • Share the exported file directly with recruiters');
console.log(' • Use the interactive mode: ' + chalk_1.default.cyan('faj'));
}
}
exports.PublishCommand = PublishCommand;
//# sourceMappingURL=publish.js.map
;