Cookiecutter templates discovery and management.
Usage:
$ pip install cookiejar
$ cookiejar create <templatename> [options]
Will use cookiecutter to create a new package from the template.
All options can be specified on the command-line. Users can override everything by creating a config file at ~/.cookiejar/cookiejarrc
.
You can list, search and download templates from a 'templates index'.
The following commands are available:
$ cookiejar list [--index=<index>]
$ cookiejar search <text> [--index=<index>]
$ cookiejar add <package_name> [<url>] [--index=<index>]
$ cookiejar installed
$ cookiejar remove <package_name>
To create a new package:
$ cookiejar create <template_name> [options]
Lists all templates available on the index.
Optional. Specifies an alternative index to use.
Lists available templates on the index whose name contains the specified text.
Required. Text to look for in the index.
Optional. Specifies an alternative index to use.
Downloads the specified template to your ~/.cookiecutters/templates/
directory.
Required. The template you want to download.
Optional. If specified, downloads the template from there instead of using the index. Accepts pip
-like URLs, as git+https://github.com/user/repo.git
.
Optional. Specifies an alternative index to use.
Lists templates that have already been downloaded.
Deletes the specified template from your ~/.cookiecutters/templates/
directory.
Required. The template you want to remove.
Creates a new package using the specified template.
Required. The template you to use.
Optional. Any options specified will be added to cookiecutter's context when creating the package. Options are specified as --key=value
.
- add
register
andupload
commands - use an actual REST API and server (requires $$ for the infrastructure)
- put a pretty picture of a cookie jar in this readme.
This software should be considered Alpha.
This project is released under the MIT License.