Skip to content

A cookiecutter template for creating a cmd2 base application with a sample plugin. The sample plugin and base application are separate installation packages

Notifications You must be signed in to change notification settings

jayrod/cookiecutter-python-cmd2-ext-plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookiecutter CMD2 Basic Project

Cookiecutter template for a Python CMD2 base application that uses a plugin from a separate package.

Features of generated Applications

  • Base Application
  • Plugin
  • Plugin Settables
  • Application config file

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher)::

pip install -U cookiecutter

Generate a Python package project::

cookiecutter https://github.com/jayrod/cookiecutter-python-cmd2-ext-plug.git

Reasoning

I wanted to create a more advanced usage example for Cmd2 applications. Through the use of the pluginlib library you can create an extremely dynamic cmd2 application. Each plugin created must be installed as a separate application but will be available in the main cmd2 application.

This format makes it easy to create a stand alone plugin application while allowing a developer to create a composite application based on installed plugins.

About

A cookiecutter template for creating a cmd2 base application with a sample plugin. The sample plugin and base application are separate installation packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published