Skip to main content
  • Book
  • © 2017

The CLI Book

Writing Successful Command Line Interfaces with Node.js

Apress

Authors:

  • The first book on the market explaining what makes a good command line client and how to develop one

  • Includes real-life examples prioritizing UX decision, ensuring the reader is in a good position to understand the user

  • Many developers struggle to write extensible command line clients and their architecture is “grown” – this book helps you to structure your clients in a way that it is easy to extend and test

Buy it now

Buying options

eBook USD 14.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 19.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (4 chapters)

  1. Front Matter

    Pages i-xiii
  2. What Makes a Good CLI?

    • Robert Kowalski
    Pages 1-13
  3. Making Our CLI More Accessible

    • Robert Kowalski
    Pages 39-82
  4. Back Matter

    Pages 105-109

About this book

Learn everything that makes command line clients such as Git and npm so successful, and how to compose the best on your own. This book is your concise step-by-step guide to writing command line clients with Node.js. 

You'll start by discovering what is needed for a successful command line client and develop a solid foundation for practical skill. Next you will build an application based on learned principles in Node.js. The sometimes-puzzling world of streaming is fully explained with practical examples, as well as unit testing and integration testing. Lastly you'll explore a full range of tips and tricks designed to make the daily life of a software maintainer easier.

The Node.js ecosystem provides support for writing command line clients and has a thriving, very active community. With this book as your guide, you'll become a successful creator of your own command line clients. Make an impact in the areas you really care about using The CLI Book.

What You'll Learn

  • Become a successful creator of your own command line clients and make an impact
  • Set your command line tool apart from others
  • Prioritize user experience
  • Employ best practices to structure and architect your own clients
  • Apply tips and tricks collected from years of developing with Node.js

Who This Book Is For

Those who know some JavaScript and want to deepen their knowledge, especially in the area of CLI development. 


Authors and Affiliations

  • Hamburg, Germany

    Robert Kowalski

About the author

Robert Kowalski has started using Node.js when version 0.4 was still new and has spent time working on the npm core team, which is where he learned a lot about good command line interfaces. As a developer he has also had to user other command line tools and it was this that made him realize how much a book like this was needed. In the past he has worked for big companies such as IBM and startups including Jimdo and Bitfinex, all in different roles, as well as committing to Node.js and Apache CouchDB. He speaks at conferences and has enjoyed writing since he was a child. You can find Robert on Twitter @robinson_k. 

Bibliographic Information

  • Book Title: The CLI Book

  • Book Subtitle: Writing Successful Command Line Interfaces with Node.js

  • Authors: Robert Kowalski

  • DOI: https://doi.org/10.1007/978-1-4842-3177-7

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Robert Kowalski 2017

  • Softcover ISBN: 978-1-4842-3176-0Published: 08 December 2017

  • eBook ISBN: 978-1-4842-3177-7Published: 29 November 2017

  • Edition Number: 1

  • Number of Pages: XIII, 109

  • Number of Illustrations: 9 illustrations in colour

  • Topics: Web Development

Buy it now

Buying options

eBook USD 14.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 19.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access