# Command-line interface libraries

The modules described in this chapter assist with implementing command line and terminal interfaces for applications.

Here’s an overview:

- `argparse` — Parser for command-line options, arguments and subcommands
- `optparse` — Parser for command line options
- `getpass` — Portable password input
- `fileinput` — Iterate over lines from multiple input streams
- `curses` — Terminal handling for character-cell displays
- `curses.textpad` — Віджет введення тексту для програм curses
- `curses.ascii` — Utilities for ASCII characters
- `curses.panel` — A panel stack extension for curses
- `cmd` — Support for line-oriented command interpreters