Skip to content

Add tab-completion helpers for positional and flag-based completion #288

@tleonhardt

Description

@tleonhardt

Add helper functions in cmd2 to assist with tab-completion in the following scenarios:

  • Completion following an argparse flag
  • Completion based on argument index/position

Include an example of how to use these and unit tests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions