Skip to content

lerim project

Register, list, and remove projects tracked by Lerim.

Overview

Manage which repositories Lerim tracks. Each project gets a .lerim/ directory for its memories. Adding or removing a project restarts the Docker container to update volume mounts.

Host-only command

This command runs on the host machine. It does not require a running Lerim server.

Syntax

lerim project add <path>
lerim project list
lerim project remove <name>

Subcommands

lerim project add

Register a project directory:

lerim project add ~/codes/my-app       # register a project
lerim project add .                     # register current directory

This creates a .lerim/ directory in the project root for storing memories.

lerim project list

List all registered projects:

lerim project list

lerim project remove

Unregister a project:

lerim project remove my-app            # unregister by name

Parameters

path string required (add)

Filesystem path to the project directory. Tilde (~) is expanded.

name string required (remove)

Project name as shown in lerim project list.

Examples

# Register multiple projects
lerim project add ~/codes/frontend
lerim project add ~/codes/backend
lerim project add .

# List them
lerim project list

# Remove one
lerim project remove frontend

Notes

  • Adding or removing a project restarts the Docker container if it is running (to update volume mounts)
  • Each project stores its own memories in <repo>/.lerim/memory/
  • The .lerim/ directory is automatically gitignored