Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joamatab/gcli
command line interface to work with git
https://github.com/joamatab/gcli
Last synced: 4 months ago
JSON representation
command line interface to work with git
- Host: GitHub
- URL: https://github.com/joamatab/gcli
- Owner: joamatab
- License: mit
- Created: 2020-01-27T21:54:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T23:48:55.000Z (4 months ago)
- Last Synced: 2024-10-09T18:58:47.857Z (4 months ago)
- Language: Python
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 commands
- `gcli clone`: clone repos from Git
- `gcli config`: show key values from CONFIG
- `gcli pull`: pull already downloaded repos or wikis
- `gcli status`: checks gcli and python version
- `gcli 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:
- https://github.com/awslabs/aws-sam-cli
- https://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html
- https://github.com/audreyr/cookiecutter
- gem install gitlab_cli