Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.42 KB

README.org

File metadata and controls

69 lines (48 loc) · 1.42 KB

Conquer

A simple yet powerful template rendering tool that follows the Unix philosophy of doing one thing well.

Overview

Conquer is a command-line utility that generates text files by combining structured data (YAML/CSV) with templates.

Features

  • Supports YAML and CSV input files
  • Uses Comb templates (.comb extension)
  • Direct file updates with -u flag
  • Directory tree processing
  • Simple command-line interface

Installation

bbin install io.github.200ok-ch/conquer

Usage

Basic syntax:

conquer [-t=<template>] [-u] [-p=path]

Options:

  • -h, --help: Show help screen
  • -p, --path=<path>: Path to operate on (file or directory) [default: .]
  • -t, --template=<template>: Override the template file
  • -u, --update: Create or update files
  • -v, --version: Show version

Basic Example

conquer -t template.html.comb greeting.yml

Read more about conquer in my blog post (soonish).

Troubleshooting

This error

java.lang.String cannot be cast to clojure.lang.IFn

Is most likely an error in the template. It happens when you try to use a function it cannot resolve.

Use Cases

  • Static website generation
  • Configuration file management
  • Documentation generation
  • Report creation
  • Data transformation
  • Infrastructure as Code (e.g. Terraform/OpenTofu configurations)

License

tbd.