// Access command-line arguments excluding the first two elements (node and script path) const args = process.argv.slice(2); // Log the command-line arguments console.log('Command-line arguments:', args);