Watch
1
0
Fork
You've already forked git-lad
0
forked from datalad/git-lad
A lean CLI for DataLad operations
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-08 12:16:53 +02:00
.forgejo/workflows rf: rename to git-lad 2026-01-22 18:58:40 +01:00
git_lad chore: reformat, address various minor issues 2026-06-08 12:16:53 +02:00
.changelog.md.j2 initial commit 2026-01-13 20:48:03 +01:00
.gitignore rf: rename to git-lad 2026-01-22 18:58:40 +01:00
.noannex initial commit 2026-01-13 20:48:03 +01:00
CHANGELOG.md initial commit 2026-01-13 20:48:03 +01:00
conftest.py test: transition tests to use gitlad fixture 2026-06-05 12:47:57 +02:00
CONTRIBUTING.md rf: rename to git-lad 2026-01-22 18:58:40 +01:00
LICENSE rf: rename to git-lad 2026-01-22 18:58:40 +01:00
pyproject.toml feat: top-level exception handling 2026-06-07 07:26:41 +02:00
README.md doc: update README 2026-06-08 12:16:53 +02:00

git-lad: a lean CLI for DataLad operations

Hatch project

This project is in its infancy. It aims to provide a modern, alternative command line interface (CLI) for DataLad operations. Key features and goals:

  • clean, standard CLI (implemented with click, or rather rich-click
  • lean code with few dependencies (implementations of operations are provided by datalad-core, with low-level tooling coming from datasalad
  • close(r) alignment with Git/git-annex conventions and terminology, while retaining compatibility with any DataLad dataset
  • sensible speed across all platforms
  • homogeneous handling of Git repositories with or without an annex (as much as possible), and streamlined work with sub-modules (like DataLad)

Installation

Install git-lad with uv by running:

uv tool install git+https://hub.datalad.org/datalad/git-lad.git

This provides an immediately usable installation in a user space virtual environment. git-annex is automatically installed as a dependency in a matching version as part of the virtual environment.

Features

At the moment, the following features/operations are implemented:

  • clone: create a repository clone and ready any annex with support for bare clones, specific-branches, shallow clones, and private annexes.
  • create: create a new dataset, also bare, or in git-annex's private mode
  • get: obtain missing content in a worktree, across submodule boundaries, as lean as possible by default

Contributing

Contributions to this library are welcome! Please see the contributing guidelines for details on scope and style of potential contributions.