Fetch and print public details for a GitHub user.
You are required to build a CLI tool using Node.js that prints public profile details for a GitHub user.