UNPKG

@stoar/cli

Version:

CLI tool for STOAR - decentralized file storage on Arweave

19 lines 720 B
import { Command } from 'commander'; import chalk from 'chalk'; export const monitorCommand = new Command('monitor') .description('Monitor transaction status and confirmations') .argument('[txId]', 'Transaction ID to monitor') .option('-w, --watch', 'Continuously watch for updates') .action((txId, options) => { console.log(chalk.yellow('Monitor command coming soon!')); if (txId) { console.log(`This will monitor transaction: ${txId}`); if (options.watch) { console.log('Continuous monitoring would be enabled.'); } } else { console.log('This will monitor transaction confirmations and status.'); } }); //# sourceMappingURL=monitor.js.map