mend.html

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2025 License: ISC Imports: 6 Imported by: 0

README ยถ

๐Ÿ”ฉ mend.html

Mend is a simple HTML template processor designed to, but not limited to be used to generate static websites.

Refer to the Wiki for in-depth tutorial.

๐Ÿ“ฅ Installation

Download the latest release or install via the command line with:

go install github.com/bbfh-dev/mend.html

โš™๏ธ Usage

Run mend --help to display usage information.

Usage:
        mend <options> [html files...]

Commands:

Options:
        --help, -h             Print help and exit
        --version, -V          Print version and exit
        --input, -i <value>    Set global input parameters
        --indent <value>       Set amount of spaces to indent with. Gets ignored if --tabs is used
        --tabs, -t             Use tabs instead of spaces
        --decomment            Strips away any comments

๐Ÿ“Œ Developer notes

These are some important development notes, informing about parts of the project that need to be polished out.

Expressions are very clunky.

  1. In code they require every node to implement its own processing while referencing a global function that handles them. Basically, it's just a big bowl of spaghetti. There's gotta be a better way of doing them.
  2. The way expressions are parsed is very primitive, it could cause unexpected errors/behavior when using bad syntax.

โ€” @bbfh-dev

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL