0.3.0 • Published 3 years ago

srb2kart-skin-lister v0.3.0

Weekly downloads
-
License
WTFPL
Repository
-
Last release
3 years ago

Generates a list of skins based on your folder of SRB2Kart addons

Example usage

$ ls
PLAYPAL.pal
# this needs to be in this folder
# you can extract it from srb2.srb using SLADE
$ srb2kart-skin-lister ~/srb2kart/addons/ > index.html
# note that pngs will be thrown into the current folder

Style it

$ srb2kart-skin-lister ~/srb2kart/addons/ < template.html > index.html

That is, if you put something in on stdin it will be used as a template for the output.

It uses Handlebars as a templating engine. You can go read the documentation there on how to use it.

There are two helpers that have been registered:

  • lower makes the text lowercase
  • spacify replaces all underscores with spaces

If you want a reference to look at, open the index.ts file and look at template_str.

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago