Skip to main content

commit cli for git with some formats, by default short version of odoo format

Project description

Git Commmit Cli

This project provides a cli to make git commits with a minimized odoo format from a text wizard.

Is a wrapper of the git commit -m command writed with 💟 on Python.

This was tested on a raspbian and a fedora OS with the nano, nvim and vim editor.

supported formats:

  • short odoo
  • conventional commits
  • free (this is like use native git commit command)

Instalation

1 - Install the package

note : use sudo if the local (user) python bin dir is not in the path

sudo pip install commitcli

2 - Enjoy

Add files to commit

git add .

Use the tool

comitcli

Example

Odoo (default)

ejemplo de imagen

Configuration

This utility creates a file into the users home directory ~/.commitclirc in this file you will find some customizable options. the most important is the format option this option accepts this formats:

  • odoo
  • cc
  • free

Next Updates

Formats

  • [*] config manager using ~/.comirclirc file
  • [*] conventional commits CC
  • semantic git commit SGC
  • full odoo tags
  • configuration changes using the cli

Development

Help

using without install from the source

python -m commitcli

References

https://magmax.org/python-inquirer/

https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html

https://setuptools.readthedocs.io/en/latest/userguide/entry_point.html

https://medium.com/better-programming/python-click-building-your-first-command-line-interface-application-6947d5319ef7

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

commitcli-1.1.0.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

commitcli-1.1.0-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

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