Line

You are reading docs for v0.8. See latest (v0.9)

User Guide

The whole family in one place: the framework, the app you work in, and the command line.

Construct does the mechanical work of a React and TypeScript app inside rules your project defines. Run a small command, or click the same action in the Cockpit, and it creates files in the right place, moves them safely, and tells you plainly when something breaks a rule.

This guide is arranged the way the package is: Line is the whole thing, Construct is the framework, and the Cockpit and the command line are the two ways to drive it. What Line is explains the family in a page.

What you can do#

  • Create a feature, one file or a whole slice in one command, with imports that resolve.
  • Check your code against rules you can read and change, with a fix suggestion for every violation.
  • Move and rename files while every import is updated.
  • Import an existing page, with a plan you approve first.
  • Understand a feature in plain English, and see what a change touches before you make it.
  • Review a branch by what it means, and generate a locked test for every route through a workflow.
  • Choose whether an AI model is involved at all. By default none is.

Read in this order#

  1. Getting started: a working project in 60 seconds.
  2. What Line is: the framework, the app and the terminal, and which parts are open source.
  3. The five ideas behind everything.
  4. What Construct is, then the how-to guides: pick the task you have.
  5. Examples: the problem, the exact command or screen, the exact result.

Prefer to click? Using the Cockpit. Prefer to type? Using the command line. Want to change Construct itself? See For developers.

Start

Construct

Cockpit

Videos

CLI