| 1 | # API Reference |
| 2 | |
| 3 | These pages document the public API for `cmd2`. If a method, class, function, attribute, or constant |
| 4 | is not documented here, consider it private and subject to change. There are many classes, methods, |
| 5 | functions, and constants in the source code that do not begin with an underscore but are not |
| 6 | documented here. When looking at the source code for this library, you cannot safely assume that |
| 7 | something is a public API just because it doesn't start with an underscore. |
| 8 | |
| 9 | If a release of this library changes any of the items documented here, the version number will be |
| 10 | incremented according to the [Semantic Version Specification](https://semver.org). |
| 11 | |
| 12 | ## Modules |
| 13 | |
| 14 | - [cmd2.Cmd](./cmd.md) - functions and attributes of the main class in this library |
| 15 | - [cmd2.annotated](./annotated.md) - build `argparse` parsers from type-annotated function |
| 16 | signatures |
| 17 | - [cmd2.argparse_completer](./argparse_completer.md) - classes for `argparse`-based tab completion |
| 18 | - [cmd2.argparse_utils](./argparse_utils.md) - classes and functions for extending `argparse` |
| 19 | - [cmd2.clipboard](./clipboard.md) - functions to copy from and paste to the clipboard/pastebuffer |
| 20 | - [cmd2.colors](./colors.md) - StrEnum of all color names supported by the Rich library |
| 21 | - [cmd2.command_set](./command_set.md) - supports the definition of commands in separate classes to |
| 22 | be composed into cmd2.Cmd |
| 23 | - [cmd2.completion](./completion.md) - classes and functions related to command-line completion |
| 24 | - [cmd2.constants](./constants.md) - constants used in `cmd2` |
| 25 | - [cmd2.decorators](./decorators.md) - decorators for `cmd2` commands |
| 26 | - [cmd2.exceptions](./exceptions.md) - custom `cmd2` exceptions |
| 27 | - [cmd2.history](./history.md) - classes for storing the history of previously entered commands |
| 28 | - [cmd2.parsing](./parsing.md) - classes for parsing and storing user input |
| 29 | - [cmd2.plugin](./plugin.md) - data classes for hook methods |
| 30 | - [cmd2.pt_utils](./pt_utils.md) - utilities related to prompt-toolkit |
| 31 | - [cmd2.py_bridge](./py_bridge.md) - classes for bridging calls from the embedded python environment |
| 32 | to the host app |
| 33 | - [cmd2.rich_utils](./rich_utils.md) - common utilities to support Rich in cmd2 applications |
| 34 | - [cmd2.string_utils](./string_utils.md) - string utility functions |
| 35 | - [cmd2.styles](./styles.md) - cmd2-specific Rich styles and a StrEnum of their corresponding names |
| 36 | - [cmd2.theme](./theme.md) - provides a centralized theming system for cmd2 |
| 37 | - [cmd2.utils](./utils.md) - various utility classes and functions |