Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tolmo.com/llms.txt

Use this file to discover all available pages before exploring further.

The tolmo code command lets you browse and clone repositories connected to your organization. Tolmo resolves access credentials on the backend, so you can clone repositories from GitHub or GitLab without managing tokens locally. All subcommands accept the global --org flag to target a specific organization.

List repositories

Use tolmo code list to see every repository Tolmo knows about for your organization.
# Show all repositories in a table
tolmo code list

# Show only repositories available to clone
tolmo code list --cloneable

# Return results as JSON
tolmo code list --json
The --cloneable flag filters to repositories that have storage artifacts ready for cloning. Use it before running a bulk clone to preview what will be fetched.

Clone a repository

Use tolmo code clone to clone a single repository. You can pass the repository in any of the following formats — Tolmo normalizes them automatically:
# Short org/repo notation
tolmo code clone org/repo

# With explicit host
tolmo code clone github.com/org/repo

# Full URL (Tolmo extracts the repo path from the URL)
tolmo code clone https://github.com/superset-sh/superset/tree/main/apps/relay

# Full URL with a custom local target directory
tolmo code clone https://github.com/superset-sh/superset ./relay

# GitLab with nested subgroups
tolmo code clone https://gitlab.com/group/subgroup/repo

# GitLab short notation with explicit provider flag
tolmo code clone group/subgroup/repo --provider gitlab
Tolmo defaults to GitHub. Pass --provider gitlab when the short group/repo notation is ambiguous or when the host is not included in the URL.

Clone all repositories

Use tolmo code clone all to clone every repository in your organization that is available for cloning. Tolmo prompts for confirmation before starting.
# Clone all cloneable repos (prompts for confirmation)
tolmo code clone all

# Skip the confirmation prompt
tolmo code clone all --yes
tolmo code clone all may clone a large number of repositories, some of which can be several gigabytes. Check tolmo code list --cloneable first to understand the scope, and make sure you have sufficient disk space before proceeding.