gitcli: Git Command Line 0.0.2
Command line to:
- clone repos from Gitlab, by approximate name
- templates: create templates with cookiecutter for different projects (python, wiki, jupyter-notebooks)
- pull changes for all the repos that you have downloaded
- pull all wikis into your local computer
Usage
gcli
with no arguments lists all commandsgcli clone
: clone repos from Gitgcli config
: show key values from CONFIGgcli pull
: pull already downloaded repos or wikisgcli status
: checks gcli and python versiongcli template
: creates a template
Installation
Type pip install gitcli --upgrade
in a terminal
You will need to create a token in Gitlab and add it to your local config in ~/.gcli.yml
git_url: https://gitlab.com
private_token: AddYourTokenTo ~/.gitcli.yml
wiki2url:
wiki1_name: wiki1_url
templates:
template1_name: template1_url
TODO
- It works with gitlab. Need to test it with github
References: