UNPKG

@stoar/cli

Version:

CLI tool for STOAR - decentralized file storage on Arweave

15 lines 616 B
import { Command } from 'commander'; import chalk from 'chalk'; export const searchCommand = new Command('search') .description('Search for files in STOAR') .argument('[query]', 'Search query') .option('-t, --tags <tags...>', 'Filter by tags') .option('-l, --limit <number>', 'Limit number of results', '10') .action((query, options) => { console.log(chalk.yellow('Search command coming soon!')); if (query) { console.log(`This will search for: "${query}"`); } console.log('This will allow you to search for files stored in STOAR.'); }); //# sourceMappingURL=search.js.map