Skip to content

A command line utility to generate text files from (comb) templates

Notifications You must be signed in to change notification settings

200ok-ch/conquer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A command line utility to generate text files from (comb) templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published