Developer Guide

CLI

Installation

You can install the Laioutr CLI globally with the following command:

pnpm install -g @laioutr/cli@latest

Of course you do not have to install the CLI globally. You can also use it locally by running npx @laioutr/cli@latest <command>.

Usage

You can use the Laioutr CLI to help with local development.

laioutr help

This will show you all the available commands.

Project Secret

The project secret is the secret key of the project. You can find it in the cockpit in your project under "Settings" -> "Project Secrets".

Commands

laioutr rc fetch -p <project> -s <projectSecret> [filename]

Fetches the laioutrrc.json of a project from the cockpit api. If no filename is provided, it will default to laioutrrc.json in the current working directory.

laioutr rc update [filename]

Updates an existing laioutrrc.json file with the latest from the cockpit api. If no filename is provided, it will default to laioutrrc.json in the current working directory.