• Online, Self-Paced
Course Description

It's common to need to deliver software that runs with a variety of options and a command line interface is a great way to let users invoke these various options. CLIs have been used to run programs since the early 1960s and are still relevant today. Their simplistic design, small footprint, and self-documentation make them ideal for automated or scheduled tasks. In this course, you'll review the history of CLIs and learn how to build a CLI using argparse, a module in the Python Standard Library. You'll examine positional and optional arguments, as well as how to use custom actions. Finally, you'll learn how to install a Python module as an editable package and explore the alternative, third-party packages for building a CLI - docopt and click. This course was originally created by Global Knowledge (GK). 

Learning Objectives

{"recognize command line interface (CLI) concepts that will be covered in the course"}

Framework Connections

The materials within this course focus on the NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):

Specialty Areas

  • Software Development

Feedback

If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.