Skip to main content

Cookiecutter templates discovery and management.

Project description

cookiejar

Cookiecutter templates discovery and management..

Usage:

$ pip install cookiejar
$ cookiejar create <templatename> [options]

Will use cookiecutter to extract the template in the current directory.

Options

All options can be specified on the command-line. Users can override everything by creating a config file at ~/.cookiejar/cookiejarrc.

Managing templates

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>

Creating new packages from a template

To create a new package:

$ cookiejar create <template_name> [options]

Available Commands

list

Lists all templates available on the index.

Options

--index=<url>

Optional. Specifies an alternative index to use.

add

Downloads the specified template to your ~/.cookiecutters/templates/ directory.

Options

<template_name>

Required. The template you want to download.

<url>

Optional. If specified, downloads the template from there instead of using the index.

--index=<url>

Optional. Specifies an alternative index to use.

installed

Lists templates that have already been downloaded.

remove

Deletes the specified template from your ~/.cookiecutters/templates/ directory.

Options

<template_name>

Required. The template you want to remove.

create

Creates a new package using the specified template.

Options

<template_name>

Required. The template you to use.

[options]

Optional. Any options specified will be added to cookiecutter’s context when creating the package. Options are specified as --key=value.

Status

This software should be considered Alpha.

License

This project is released under the MIT License.

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

cookiejar-0.0.1.tar.gz (10.6 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