Zillowe FoundationZillowe Documentation

LCT

A command-line tool for easily adding open-source licenses to your projects.

LCT is a simple and efficient command-line tool designed to help developers quickly add open-source licenses to their projects. No more searching for the right license text; just use LCT to pull it directly from the source.

Features

  • Interactive Wizard: Not sure which license to pick? LCT can guide you through a series of questions.
  • Smart Detection: Analyzes your project to detect existing licenses or suggest one based on project files.
  • Auto-filling: Automatically detects your name (via Git) and the current year to populate license templates.
  • Local Caching: Fetched licenses are cached locally for offline use and maximum speed.
  • Expanded Library: Supports standard Software licenses, Non-Software (CC), Fonts, and Hardware licenses.

Installation

Via Zoi

The easiest way to install LCT is via Zoi:

zoi install @zillowe/lct

From Source

Requires Go installed.

git clone https://gitlab.com/Zillowe/Zillwen/Zusty/LCT.git
cd LCT
# For Linux/macOS
./build/build.sh
# For Windows
./build/build.ps1

Quick Start

The fastest way to use LCT is to just run it without arguments to start the Interactive Wizard:

lct

Or, if you already know what you want:

lct add MIT

Commands

lct add <license>

Creates a license file in the current directory.

Flags:

  • -o, --output <file>: Specify custom filename (default: LICENSE).
  • --year <year>: Override the detected year.
  • --author <name>: Override the detected author name.

lct interactive

Starts the step-by-step wizard to help you choose a license.

lct list

Lists all licenses currently available in LCT.

lct search <query>

Searches the license library for a specific identifier or keyword.

lct detect

Attempts to detect the current project's license by looking at package.json, Cargo.toml, or existing LICENSE files.

lct clean

Clears the local license cache.


A software organization

2026 © All Rights Reserved.

  • All the content is available under CC BY-SA 4.0, expect where otherwise stated.

Last updated on