Skip to main content

Aids the creation of "front door" scripts.

Project description

Build Status Build status

This simple module aids in the creation of “front door” scripts, which can help organize automated scripts and reduce the need for overly verbose docs. The idea is you can copy frontdoor.py into your repository to make it easy to bootstrap a front door script of your own (the other files in this repo are just examples that illustrate how frontdoor.py is used).

A front door script is a command which accepts a series of options which themselves may defer to other commands or processes which do work of some kind.

So say you have a project that has unit tests, integration tests, and deployment scripts. Typically you’d include a series of scripts, along with documentation on what scripts do what and how. What makes a front door script different is that you just document it’s available and users can find other options by jumping in and exploring it themselves. The end result feels a little like playing an interactive fiction computer game such as Zork.

This solves a different use case from argparse as argparse is more about creating robust, single purpose tools that can be invoked in flexible ways, where as Front Door is about creating scripts that more easily accept positional arguments and can defer to other commands. It’s also extremely simple and designed to be copy and pasted.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frontdoor-0.1.2.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page