faj-cli
Version:
FAJ - A powerful CLI resume builder with AI enhancement and multi-format export
42 lines • 2.04 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostCommand = void 0;
const chalk_1 = __importDefault(require("chalk"));
// import { Logger } from '../../utils/Logger';
class PostCommand {
// private logger: Logger;
constructor() {
// this.logger = new Logger('PostCommand');
}
register(program) {
program
.command('post [jobFile]')
.description('Post job requirements (Recruiter Mode)')
.option('-i, --interactive', 'Interactive job posting')
.action(async (jobFile, options) => {
console.log(chalk_1.default.cyan.bold('\n📮 Post Job Opening\n'));
if (options.interactive || !jobFile) {
console.log(chalk_1.default.yellow('Interactive job posting:\n'));
console.log(chalk_1.default.gray('Would collect:'));
console.log(chalk_1.default.gray(' • Job title and company'));
console.log(chalk_1.default.gray(' • Required skills and experience'));
console.log(chalk_1.default.gray(' • Salary range and benefits'));
console.log(chalk_1.default.gray(' • Location and remote options'));
}
else {
console.log(chalk_1.default.yellow(`Posting job from: ${jobFile}\n`));
}
console.log(chalk_1.default.yellow('\n⚠️ Job posting to P2P network coming soon!\n'));
console.log(chalk_1.default.gray('Jobs will be posted to:'));
console.log(chalk_1.default.gray(' • Decentralized job board'));
console.log(chalk_1.default.gray(' • P2P matching network'));
console.log(chalk_1.default.gray(' • Smart contract verification'));
console.log();
});
}
}
exports.PostCommand = PostCommand;
//# sourceMappingURL=post.js.map
;