UNPKG

clipaste

Version:

Cross-platform CLI tool for clipboard operations - paste, copy, and manage text and images

21 lines (16 loc) 342 B
#!/usr/bin/env node const CLI = require('./cli') async function main () { try { const cli = new CLI() await cli.run() } catch (error) { console.error('Unexpected error:', error.message) process.exit(1) } } // Only run if this file is executed directly if (require.main === module) { main() } module.exports = main