Skip to main content

CLI tool to open git repositories quickly

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

clode

[!WARNING]
Clode has been archived.

Clode is no longer being maintained. Please check out lazyclone instead.

CLI tool to open git repositories quickly.

Installation

pip install git-clode

Usage

$ clode -h
usage: clode [-h] [-n | -a] [-q | -l] repository [directory]

CLI tool to open git repositories quickly

positional arguments:
  repository         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
  -n, --never-open   don't open after cloning
  -a, --always-open  open even if already cloned
  -q, --search       search for a repository on GitHub
  -l, --lazy         lazy search for a repository on GitHub

Examples

Clode with URL

$ clode https://github.com/olillin/clode
Cloning https://github.com/olillin/clode

Clode with owner and repository name only

$ clode olillin/clode
Cloning https://github.com/olillin/clode

[!NOTE]
The default service is GitHub. This can be changed in settings.

Clode with repository name only

$ clode clode
Cloning https://github.com/olillin/clode

[!NOTE]
Requires a default user to be configured in settings

Clode with GitHub search query

$ clode -q "org:cthit in:name hubbit"
[?] Select repository to clone:
 > cthit/hubbit
   cthit/hubbIT-old

Clode with lazy search

$ clode -l "cthit/chalmers it"
[?] Select repository to clone:
 > cthit/chalmers.it
   cthit/digit.chalmers.it
   cthit/chalmers.it-deprecated
   cthit/Avtal.chalmers.it

$ clode -l cals
Cloning https://github.com/olillin/cals-cals

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_clode-0.2.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_clode-0.2.2-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file git_clode-0.2.2.tar.gz.

File metadata

  • Download URL: git_clode-0.2.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for git_clode-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ce303f4899cc9e602a8bcc6f4cfae2fbd6c95478186f885841581c9c0bbd0766
MD5 4da52c8c9436a03acd4c9f629cf5ce4e
BLAKE2b-256 b93e45006d9a9ed3dd3e9b8b2a967f58c3b3f18a751631c514730af133243621

See more details on using hashes here.

File details

Details for the file git_clode-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: git_clode-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for git_clode-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ebe66d3ee1231c1bb8e3f828f2daafb96b7b3bfca40793cc38761bbb62b6058
MD5 675683acaac2e1453e7f86ea9745e373
BLAKE2b-256 8ab3b1f07ee9cba87250f7a3c27f46ecb8fa13d375920c4c236868005a1e1fab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page