- home :: github.com/rubylibs/pakman
- bugs :: github.com/rubylibs/pakman/issues
- gem :: rubygems.org/gems/pakman
- rdoc :: rubydoc.info/gems/pakman
- forum :: groups.google.com/group/wwwmake
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 )
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
Just install the gem:
$ gem install pakman
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.
The pakman
scripts are dedicated to the public domain.
Use it as you please with no restrictions whatsoever.
Send them along to the wwwmake forum/mailing list. Thanks!