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 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 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.

Files for frontdoor, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size frontdoor-0.1.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page