javascript
Published on January 26, 2024By DeveloperBreeze
// 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);
Comments
Please log in to leave a comment.