Don’t miss it—Apress Access is only $99 for the holiday season! Subscribe now >>

The CLI Book

Writing Successful Command Line Interfaces with Node.js

Authors: Kowalski, Robert

Download source code
  • 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
see more benefits

Buy this book

eBook $14.99
price for USA (gross)
  • ISBN 978-1-4842-3177-7
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $19.99
price for USA
  • ISBN 978-1-4842-3176-0
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
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. 


About the authors

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. 

Table of contents (4 chapters)

  • What Makes a Good CLI?

    Kowalski, Robert

    Pages 1-13

  • Writing a Database Administration Tool with Node.js

    Kowalski, Robert

    Pages 15-38

  • Making Our CLI More Accessible

    Kowalski, Robert

    Pages 39-82

  • Migrating Large Amounts of Data by Using Streams

    Kowalski, Robert

    Pages 83-104

Buy this book

eBook $14.99
price for USA (gross)
  • ISBN 978-1-4842-3177-7
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $19.99
price for USA
  • ISBN 978-1-4842-3176-0
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
The CLI Book
Book Subtitle
Writing Successful Command Line Interfaces with Node.js
Authors
Copyright
2017
Publisher
Apress
Copyright Holder
Robert Kowalski
eBook ISBN
978-1-4842-3177-7
DOI
10.1007/978-1-4842-3177-7
Softcover ISBN
978-1-4842-3176-0
Edition Number
1
Number of Pages
XIII, 109
Number of Illustrations
9 illustrations in colour
Topics