Skip to content
JS

Build Custom Command Line Interface (CLI) Tooling with oclif and TypeScript

Course on egghead by Shawn Wang

View on egghead (opens in a new tab)
1 h 31 min
LengthVideo runtime
Subscription
Price modelegghead plan
15
Lessons
4.4
Rating out of 511 ratings on egghead
Dec 2019
Published19 Dec 2019

About this course

Description from egghead

Today, you can't do anything in JavaScript without bumping into a CLI. Want to install a library? yarn add it. Want a React app? create-react-app . Want to format your JavaScript? prettier --write . Want your types checked? tsc . Bundling? Pick from webpack , rollup , or parcel . Deploying? now or netlify deploy . CLI's are everywhere, and even if you don't write them, sooner or later you'll have to debug them. This workshop serves as a comprehensive survey of the state of the art of CLI tooling for everyone looking to make an impact in open source, across their company, and even in their own productivity. Check out these community notes for this course on Github .

What it covers

15 lessons
  1. 1Develop and Publish a Node.js CLI from Scratch
  2. 2Create a Single-Command Node.js CLI with Oclif, TypeScript and Yarn Workspaces
  3. 3Parse Flags and Args in Node.js CLIs with Oclif and TypeScript
  4. 4Convert a Single Command CLI into a Multi Command CLI with Oclif and TypeScript
  5. 5Create a Hybrid Single-Multi Command Node.js CLI with Oclif and TypeScript
  6. 6Debug Node.js CLIs with the VS Code Debugger and the `Debug` module
  7. 7Test Node.js CLIs with Jest and Oclif
  8. 8Design Beautiful, Intuitive and Secure Node.js CLI User Input Experiences with Enquirer
  9. 9Create Highly Configurable Node.js CLIs with Cosmiconfig and Oclif
  10. 10Scaffold out Files and Projects from Templates in a Node.js CLI
  11. 11Spawn and Manage Child Processes and Node.js Streams with execa
  12. 12Prompt Users to Update Your Node.js CLIs with Update-Notifier
  13. 13Store State on Filesystem in Node.js CLIs with Conf
  14. 14Create Node.js CLI's that Intelligently Adapt to Usage with Frecency
  15. 15Polish Node.js CLI Output with Chalk and Ora

Similar TypeScript courses

  1. Build Algorithms using Typescript

    egghead · Basarat Ali Syed · 25 lessons · 5.0 from 4 ratings · Jul 2017

    1 h 40 minSubscription
    egghead255.0 (4)Jul 2017
  2. Advanced Static Types in TypeScript

    egghead · Marius Schulz · 13 lessons · 4.8 from 62 ratings · Nov 2017

    1 h 8 minSubscription
    egghead134.8 (62)Nov 2017
  3. Practical Advanced TypeScript

    egghead · Rares Matei · 15 lessons · 4.6 from 56 ratings · Dec 2018

    1 h 3 minSubscription
    egghead154.6 (56)Dec 2018
  4. Get Up and Running with TypeScript

    Coursera · Harrison Kong · Mar 2021

    Beginner2 h
    CourseraMar 2021
  5. Beginner2 h
    Codecademy1Dec 2022
  6. TypeScript Arrays

    Coursera · Chaitra Deshpande · May 2021

    Intermediate2 h
    CourseraMay 2021
  7. TypeScript Control Structures

    Coursera · Chaitra Deshpande · May 2021

    Intermediate2 h
    CourseraMay 2021
  8. Intermediate1 h
    Codecademy1Apr 2024

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare