faj-cli
Version:
FAJ - A powerful CLI resume builder with AI enhancement and multi-format export
46 lines • 2.14 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchCommand = void 0;
const chalk_1 = __importDefault(require("chalk"));
// import { Logger } from '../../utils/Logger';
class SearchCommand {
// private logger: Logger;
constructor() {
// this.logger = new Logger('SearchCommand');
}
register(program) {
program
.command('search')
.description('Search for developers (Recruiter Mode)')
.option('-s, --skills <skills>', 'Required skills (comma-separated)')
.option('-e, --exp <years>', 'Minimum experience years')
.option('-l, --location <location>', 'Filter by location')
.option('-r, --remote', 'Include remote candidates')
.action(async (options) => {
console.log(chalk_1.default.cyan.bold('\n🔍 Developer Search\n'));
// Show search criteria
console.log(chalk_1.default.yellow('Search Criteria:'));
if (options.skills) {
const skills = options.skills.split(',').map((s) => s.trim());
console.log(` • Skills: ${skills.join(', ')}`);
}
if (options.exp)
console.log(` • Min Experience: ${options.exp} years`);
if (options.location)
console.log(` • Location: ${options.location}`);
if (options.remote)
console.log(` • Remote: Yes`);
console.log(chalk_1.default.yellow('\n⚠️ P2P network search coming soon!\n'));
console.log(chalk_1.default.gray('This will search:'));
console.log(chalk_1.default.gray(' • Decentralized developer profiles'));
console.log(chalk_1.default.gray(' • IPFS resume storage'));
console.log(chalk_1.default.gray(' • Smart skill matching'));
console.log();
});
}
}
exports.SearchCommand = SearchCommand;
//# sourceMappingURL=search.js.map
;