gcli

cli

gcli is a command line tool for Git You can create templates and keep your repos up to date

cli [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version number.

clone

Clone a project by name or project_id

cli clone [OPTIONS] PROJECT_ID

Arguments

PROJECT_ID

Required argument

config

Shows key values from CONFIG

cli config [OPTIONS] [KEY]

Arguments

KEY

Optional argument

issues

Work with gitlab issues

cli issues [OPTIONS] COMMAND [ARGS]...

list

list my Gitlab issues

cli issues list [OPTIONS]

project

list gitlab issues for a project_id number

cli issues project [OPTIONS] PROJECT_ID

Arguments

PROJECT_ID

Required argument

key

Show public SSH key (create one if does not exist)

cli key [OPTIONS]

project

Work with gitlab projects

cli project [OPTIONS] COMMAND [ARGS]...

info

get Gitlab’s project info from project_id

cli project info [OPTIONS] PROJECT_ID [PROJECT_ATTRIBUTE]

Arguments

PROJECT_ID

Required argument

PROJECT_ATTRIBUTE

Optional argument

list

search Gitlab projects

cli project list [OPTIONS] [KEY]

Arguments

KEY

Optional argument

pull

Git pull all your cloned projects

cli pull [OPTIONS] COMMAND [ARGS]...

notebooks

clone all the python jupyter notebooks

cli pull notebooks [OPTIONS]

repos

git pull on each project downloaded

cli pull repos [OPTIONS]

wikis

clone all the wikis in ~/files/wikis

cli pull wikis [OPTIONS]

remove

Stop tracking a repo by removing its path from ~/.gitcli.yml

cli remove [OPTIONS] [PATH]

Arguments

PATH

Optional argument

status

Show CLI version, gitlab connection status and python version

cli status [OPTIONS]

template

add cookiecutter template (url, python_project, wiki, jupyter_notebook_project)

cli template [OPTIONS] [TEMPLATE_NAME_OR_URL]

Arguments

TEMPLATE_NAME_OR_URL

Optional argument

config

loads a configuration from a config file on your disk ~/.gitcli.yml the config file stores the path of all the repos that you download

wiki2url:

wiki1_name: wiki1_url

templates:

template1_name: template1_url