UNPKG

@trap_stevo/filetide-cli

Version:

Seamless, real-time file transfers between devices with effortless connectivity. A powerful command-line tool built for instant, secure, and cross-platform file sharing, enabling efficient and reliable data transfers in any network environment.

11 lines (10 loc) 476 B
#!/usr/bin/env node "use strict"; const FileTideCLI = require("./FileTideCLI.js"); const os = require("os"); const args = process.argv.slice(2); const tideUrl = args[0] || "http://localhost:9269"; const deviceName = args[1] || os.hostname(); const currentRoom = args[2] || "file-room"; const debuggingEnabled = args.includes("--debugging"); const client = new FileTideCLI(deviceName, tideUrl, currentRoom, true, true, true, false, {}, {}, {}, {}, true, {}, debuggingEnabled);