SitePoint
  • Blog
  • Forum
  • Library
  • Login
Join Premium
Build a JavaScript Command Line Interface (CLI) with Node.js
Close
    • Build a JavaScript Command Line Interface (CLI) with Node.js
    • Notice of Rights
    • Notice of Liability
    • Trademark Notice
    • About SitePoint
    • Why Build a Command-line Tool with Node.js?
    • What We’re Going to Build: ginit
    • The Application Dependencies
    • Getting Started
    • Adding Some Helper Methods
    • Initializing the Node CLI
    • Prompting the User for Input
    • Dealing With GitHub Authentication
    • Communicating with the GitHub API
    • Creating a Repository
    • Creating a .gitignore File
    • Interacting with Git from within the App
    • Putting It All Together
    • Making the ginit Command Available Globally
    • Taking it Further

Community Questions