Start free

Browse › GitHub

Build Command-Line Tools by Using Copilot

Guided

Part of GitHub Topic: Programming

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

Prerequisite Required for This lab. Before starting, complete the Set Up Git and Connect to GitHub lab.

  1. The prerequisite lab only needs to be completed once for all labs in this series
  2. In this lab, you will create a Python CLI with argument parsing, options, and formatted output
  3. Start the CLI script
  4. Build the argument parser
  5. Add command logic
  6. Add error handling and defaults
  7. Add help and formatting
  8. Add subcommands and colors

Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

  • ⏱ About 30 minutes
  • Counts towards: GitHub Foundations