Git clone but easier
Project description
lazyclone
Git clone but easier. Built as a replacement/improvement of my project, clode.
Clone a repository without the full URL:
$ lazyclone olillin/lazyclone
Cloning https://github.com/olillin/lazyclone
If GitHub CLI is installed lazyclone will detect your GitHub username:
$ lazyclone bonk
Cloning https://github.com/olillin/bonk
If there are multiple options you will be able to choose which repository to clone:
$ lazyclone lazy
[?] Select repository to clone:
> olillin/lazyclone
LazyVim/LazyVim
l123456789jy/Lazy
jesseduffield/lazygit
jesseduffield/lazydocker
aFarkas/lazysizes
See Usage for more details.
Installation
Pip
To install using pip simply run the command below:
pip install lazyclone
Nix/NixOS
lazyclone can be installed using Nix Flakes, see the section below.
Nix Flakes
Add the required inputs to your flake configuration:
flake.nix
{
description = "NixOS configuration with lazyclone";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
lazyclone = {
url = "github:olillin/lazyclone";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
...
} @ inputs: {
nixosConfigurations.yourconfiguration = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
];
};
};
}
Install the package in your configuration.nix or an imported module:
configuration.nix
{
pkgs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
inputs.lazyclone.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}
Usage
Arguments
| Argument | Type | Description | Example value |
|---|---|---|---|
repo |
string | Name or query of the repository to clone | olillin/lazyclone |
directory |
string | Directory the repository should be cloned to | lazyclone-2 |
-h/--help |
flag | Show the help menu | |
-p/--program |
string | Program to open the cloned repository with | code |
--debug |
flag | Enable debug logs |
Help message
usage: lazyclone [-h] [-p PROGRAM] [--debug] repo [directory]
Clone Git repositories easier
positional arguments:
repo url or name of repository to clone
directory the name of a new directory to clone into
options:
-h, --help show this help message and exit
-p, --program PROGRAM
open with this program after cloning
--debug enable debugging output
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lazyclone-0.1.0.tar.gz.
File metadata
- Download URL: lazyclone-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e8e6173d93d8a0e59272d83073f8a5f8d673a6868238098ae337447692dcc97
|
|
| MD5 |
c06f87ef2b38063bd97839203e499811
|
|
| BLAKE2b-256 |
54981deacaa4eb314af405a6efe7b846af2ae73f96584d44d8d244c7fad8258c
|
Provenance
The following attestation bundles were made for lazyclone-0.1.0.tar.gz:
Publisher:
python-publish.yml on olillin/lazyclone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lazyclone-0.1.0.tar.gz -
Subject digest:
7e8e6173d93d8a0e59272d83073f8a5f8d673a6868238098ae337447692dcc97 - Sigstore transparency entry: 800412416
- Sigstore integration time:
-
Permalink:
olillin/lazyclone@ebefcad481a44e0823def93febdd911c15692f34 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/olillin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ebefcad481a44e0823def93febdd911c15692f34 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lazyclone-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lazyclone-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f60c11dd9f144569756d96557d538649905573c6e522d57902d1cc9c4fad9041
|
|
| MD5 |
202f280a7f741342405ed7fcc99e87f4
|
|
| BLAKE2b-256 |
4b0887e4e46e2f63d8fe64d048de4d0e9fd751bc30e3588a03c811a013b76198
|
Provenance
The following attestation bundles were made for lazyclone-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on olillin/lazyclone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lazyclone-0.1.0-py3-none-any.whl -
Subject digest:
f60c11dd9f144569756d96557d538649905573c6e522d57902d1cc9c4fad9041 - Sigstore transparency entry: 800412445
- Sigstore integration time:
-
Permalink:
olillin/lazyclone@ebefcad481a44e0823def93febdd911c15692f34 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/olillin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ebefcad481a44e0823def93febdd911c15692f34 -
Trigger Event:
push
-
Statement type: