Skip to main content
Version: 0.5

gest project

Show or manage the project registration for the current working directory.

In gest v0.5.0, every tracked project is a row in the projects table, keyed on its root path. gest init creates the row; gest project commands inspect and modify it.

Usage​

gest project [OPTIONS] [COMMAND]

Options (bare gest project)​

When run without a subcommand, gest project shows details for the current directory's project.

FlagDescription
--jsonEmit output as JSON (only applies to the default show view)

Subcommands​

CommandAliasesDescription
archiveSoft-archive a project, hiding it from default list views
attachAttach the current directory to an existing project as a workspace
deletermDelete a project and all of its owned entities
detachDetach the current directory from its project
listlsList all known projects
unarchiveRestore an archived project to active status

Running gest project without a subcommand shows the current project.


project archive​

Soft-archive a project, detaching all workspaces and hiding owned entities from default list views. The project and its data remain in the database and can be restored with unarchive.

A confirmation prompt shows the number of workspaces, tasks, iterations, and artifacts that will be affected.

gest project archive [OPTIONS] <ID>

Arguments​

ArgumentDescription
<ID>Project ID or unique prefix

Options​

FlagDescription
--yesSkip the interactive confirmation prompt

Examples​

gest project archive abc123
gest project archive --yes abc123

project attach​

Attach the current directory to an existing project as a secondary workspace. Useful when you have multiple checkouts of the same repository (for example, jj workspaces or git worktrees) and want them all to share the same entity data.

gest project attach <PROJECT-ID>

project delete​

Delete a project and all of its owned entities. This is a hard delete that cascades through every task, iteration, and artifact owned by the project, along with all their notes, tags, and relationships. Tombstone files are written so downstream sync imports do not resurrect deleted data.

This operation is not reversible via gest undo.

gest project delete [OPTIONS] <ID>

Arguments​

ArgumentDescription
<ID>Project ID or unique prefix

Options​

FlagDescription
--yesSkip the interactive confirmation prompt

Examples​

gest project delete abc123
gest project rm --yes abc123

project detach​

Remove the current directory from its project's workspace list. The project itself is not deleted — only the workspace association.

gest project detach

project list​

List every project recorded in the database. Archived projects are hidden by default.

gest project list [OPTIONS]

Options​

FlagDescription
-a, --allInclude archived projects in the listing
--limit <N>Cap the number of items returned
-j, --jsonEmit output as JSON
-q, --quietSuppress normal output
-r, --rawEmit script-friendly plain output

Examples​

gest project list
gest project list --all
gest project list --json
gest project list --limit 5

project unarchive​

Restore an archived project to active status by clearing its archived_at timestamp. Workspace paths are not automatically restored — you will need to re-attach them with gest project attach.

gest project unarchive <ID>

Arguments​

ArgumentDescription
<ID>Project ID or unique prefix

Examples​

gest project unarchive abc123

Examples​

Show the project for the current directory:

gest project

List every project:

gest project list

Attach a secondary checkout:

cd ../myapp-workspace-2
gest project attach <project-id>