Skip to content

Convert to a package directory structure #356

@tleonhardt

Description

@tleonhardt

cmd2 has grown to the point where the cmd2.py file is over 4000 lines and with new features being added the overall code size is likely to grow substantially.

It has probably reached the point that cmd2 would benefit by becoming a real Python package with multiple source code files.

For this to happen, we will need a cmd2 directory in which all of the source code lives and there is a dunder init.py file to make it a package. This article on Structuring Your Project has good basic advice on how to approach this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions