# 23. Program Frameworks

The modules described in this chapter are frameworks that will largely dictate the structure of your program. Currently the modules described here are all oriented toward writing command-line interfaces.

The full list of modules described in this chapter is:

- 23.1. `cmd` — Support for line-oriented command interpreters
  - 23.1.1. Cmd Objects
- 23.2. `shlex` — Simple lexical analysis
  - 23.2.1. shlex Objects
  - 23.2.2. Parsing Rules