Tutorials: Building human-first and machine-friendly CLI applications

Thursday - April 20th, 2023 9 a.m.-12:30 p.m. in 250E

Presented by:


Experience Level:

Some experience

Description

Command line tools have 2 audiences:

  • humans using it directly
  • other tools, scripts working together with it

In this tutorial, you'll learn how to build CLI applications for both of these user groups. We'll get to know the Command Line Interface Guidelines (https://clig.dev/), an open source, language-agnostic collection of principles and guidelines. We'll build an application following those principles in Python, using typer and Rich.

Our short-term goal for this workshop is to build a CLI catalogue of past PyCon talks. The long-term goal is to provide tools (incl. code snippets and checklists) that you can use for your own CLI applications.