Skip to content
/ GenCLI Public template

A Python CLI template using the cmd function that I have used for a personal project. Feel free to remix!

Notifications You must be signed in to change notification settings

lpkeates/GenCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

A Generic Command Line Interface that I have used for a personal project. Feel free to remix!

Getting Started

This section is mainly for when you want to make your own version. Keep in mind that some of the modules I use are optional.

Prequesites

Required:

  • cmd (complimentary of Python)
    import cmd

Optional:

  • wikipedia (Python 2.6+/3.3+)
    pip install wikipedia
  • Any other modules you like
    pip install <module>

Installation

Since this is project is just a demo of what I have been doing, the main way to do such is via the following command:

git clone https://github.com/lpkeates/GenCLI.git

Usage

In order to run GenCLI, you will need to do the following command:

python cli.py

The filename is whatever you want to name it. The default is cli.py

Notes

If you want to use the RPG function, you are welcome to. Just insert the code into the CLI file, and edit it however you want. If you want to go a step further, feel free.

License

You are free to use this project for whatever you want, but please don't use it illegally!

About

A Python CLI template using the cmd function that I have used for a personal project. Feel free to remix!

Topics

Resources

Stars

Watchers

Forks

Languages