معرفی شرکت ها


commitcli-1.3.0b3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

commit cli for git with some formats, by default short version of odoo format
ویژگی مقدار
سیستم عامل -
نام فایل commitcli-1.3.0b3
نام commitcli
نسخه کتابخانه 1.3.0b3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Marco A. Gallegos
ایمیل نویسنده ma_galeza@hotmail.com
آدرس صفحه اصلی https://github.com/marco-gallegos/commit-cli
آدرس اینترنتی https://pypi.org/project/commitcli/
مجوز MIT
# Git Commmit Cli This project provides a cli to make git commits with a minimized [odoo format](https://www.odoo.com/documentation/14.0/reference/guidelines.html#git) from a text wizard. Checkit out on [pypi](https://pypi.org/project/commitcli/). 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 - semantic git commits - free (this is like use native `git commit` command) ## Features ### Commitcli configuration file per project You can add a `.commitclirc` file in your project directory. you can copy the global `.commitclirc` file to your project directory and edit it to use a diferent format. ```shell cp ~/.commitclirc .commitclirc ``` ## Installation #### 1 - Install the package note : use sudo if the local (user) python bin dir is not in the path ```shell sudo pip install commitcli ``` example content of the `.commitclirc` file: ```shell #Format for every commit #supported formats free, odoo, sgc(semantic git commits) and cc (conventional commits) format=odoo #Option to sign the commits o every commit, must be True or False signgpg=False ``` change this to use cc on your project: ```shell #Format for every commit #supported formats free, odoo, sgc(semantic git commits) and cc (conventional commits) format=cc #Option to sign the commits o every commit, must be True or False signgpg=False ``` save this file and add to your git repository and every comand will use cc format on this project. #### 2 - Enjoy Add files to commit ```shell git add . ``` Use the tool ```shell commitcli ``` ### Example #### Odoo (default) ![ejemplo de imagen](./static/img/example.png) ## 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 - [ ] only make a echo of a format - [ ] cli inline option to specify format (oddo, sgc, etc) - [ ] module list to chose for context in cc or something like this `type(context)` - [ ] quick templates - clean up - [ ] smarter - store module list and provide a list of modules to choose from and the last by default - [ ] create branches - use format <username>/<type "ej fix">/<free name> #### Formats - [x] conventional commits [CC](https://www.conventionalcommits.org/en/v1.0.0/) - [x] semantic git commit [SGC](https://www.npmjs.com/package/semantic-git-commit-cli) - [x] odoo tags [Odoo](https://www.odoo.com/documentation/14.0/reference/guidelines.html#git) ## 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


نیازمندی

مقدار نام
- inquirer
- click
- loguru
- pendulum
- python-dotenv


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl commitcli-1.3.0b3:

    pip install commitcli-1.3.0b3.whl


نصب پکیج tar.gz commitcli-1.3.0b3:

    pip install commitcli-1.3.0b3.tar.gz