Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
pakman gem - Template Pack Manager in Ruby
Ruby
branch: master

README.markdown

pakman - Template Pack Manager in Ruby

Usage - Ruby Code

Fetch a template pack:

Pakman::Fetcher.new.fetch_pak( src, pakpath )

Copy a template pack from your cache:

Pakman::Copier.new.copy_pak( src, pakpath )

Merge a template pack from your cache:

Pakman::Templater.new.merge_pak( src, pakpath, binding, name )

List all template packs in your cache (using passed in search path):

patterns  = [
  "#{File.expand_path('~/.pak')}/*.txt",
  "#{File.expand_path('~/.pak')}/*/*.txt",
  "*.txt",
  "*/*.txt"
]

Pakman::Finder.new.find_manifests( patterns )

Usage - Command Line

The pakman gem includes a little command line tool. Try pakman -h for details:

pakman - Lets you manage template packs.

Usage: pakman [options]
    -f, --fetch URI                  Fetch Templates
    -t, --template MANIFEST          Generate Templates
    -l, --list                       List Installed Templates
    -c, --config PATH                Configuration Path (default is ~/.pak)
    -o, --output PATH                Output Path (default is .)
    -v, --version                    Show version
        --verbose                    Show debug trace
    -h, --help                       Show this message

Install

Just install the gem:

$ gem install pakman

Real World Usage

The slideshow (also known as Slide Show (S9)) gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that's easy-to-write and easy-to-read.

Real World Template Packs

License

The pakman scripts are dedicated to the public domain. Use it as you please with no restrictions whatsoever.

Something went wrong with that request. Please try again.