Skip to main content

Git development CLI tools for daily usage

Project description

git-dct

Release Python Downloads License
Build Bugs Code Smells Coverage Lines of Code Quality Gate Status
pre-commit Commitizen friendly gcil pre-commit-crocodile

Git development CLI tools for daily usage

Documentation: https://radiandevcore.gitlab.io/tools/git-dct
Package: https://pypi.org/project/git-dct/


Usage

usage: git-dct [-h] [--version] [--no-color] [--update-check] [--settings] [--set GROUP KEY VAL] [-e | -d] [--]

git-dct: Git development CLI tools for daily usage

internal arguments:
  -h, --help           # Show this help message
  --version            # Show the current version
  --no-color           # Disable colors outputs with 'NO_COLOR=1'
                       # (or default settings: [themes] > no_color)
  --update-check       # Check for newer package updates
  --settings           # Show the current settings path and contents
  --set GROUP KEY VAL  # Set settings specific 'VAL' value to [GROUP] > KEY
                       # or unset by using 'UNSET' as 'VAL'

modes arguments:
  -e, --enable         # Enable profiles configurations
  -d, --disable        # Disable profiles configurations

positional arguments:
  --                   # Positional arguments separator (recommended)

Enable Git configurations

git dct --enable

Disable Git configurations

git dct --disable

Userspace available settings

git-dct creates a settings.ini configuration file in a userspace folder.

For example, it allows to disable the automated updates daily check ([updates] > enabled)

The settings.ini file location and contents can be shown with the following command:

git-dct --settings

Environment available configurations

git-dct uses colored for colors outputs and questionary for interactive menus.

If colors of both outputs types do not match the terminal's theme,
an environment variable NO_COLOR=1 can be defined to disable colors.


Dependencies


References

  • commitizen: Simple commit conventions for internet citizens
  • git-cliff: CHANGELOG generator
  • gitlab-release: Utility for publishing on GitLab
  • gcil: Launch .gitlab-ci.yml jobs locally
  • mkdocs: Project documentation with Markdown
  • mkdocs-exporter: Exporter plugin for mkdocs documentation
  • mkdocs-material: Material theme for mkdocs documentation
  • mypy: Optional static typing for Python
  • pre-commit: A framework for managing and maintaining pre-commit hooks
  • pre-commit-crocodile: Git hooks intended for developers using pre-commit
  • PyPI: The Python Package Index
  • twine: Utility for publishing on PyPI

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_dct-2.1.1.tar.gz (73.9 kB view details)

Uploaded Source

Built Distribution

git_dct-2.1.1-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file git_dct-2.1.1.tar.gz.

File metadata

  • Download URL: git_dct-2.1.1.tar.gz
  • Upload date:
  • Size: 73.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for git_dct-2.1.1.tar.gz
Algorithm Hash digest
SHA256 d158e853cd8ce61956a1ccacfb66bbc32091c973b8e46958753ec4972778d746
MD5 9e497cedc1a389efe83278df1a5271f5
BLAKE2b-256 6f8988e7949074cbd0955d45720ead74bc85c948bc97d8ef907709338a27cee1

See more details on using hashes here.

File details

Details for the file git_dct-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: git_dct-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for git_dct-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8182cfa1d97c6492770f7555870a931ac44819dcc2cd603d739caf72d8750f39
MD5 7b040e24b83e6424d3c682d208810bc1
BLAKE2b-256 9934c39f97411ba42c1da261c34cd14d7607d2f26814fc17552cd769d7c1a25e

See more details on using hashes here.

Supported by

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