{"id":20536071,"url":"https://github.com/marco-gallegos/commit-cli","last_synced_at":"2025-08-09T00:05:56.202Z","repository":{"id":62563979,"uuid":"325881283","full_name":"marco-gallegos/commit-cli","owner":"marco-gallegos","description":"commitcli, commit-cli is a comand line interface to simplify commiting using standards like conventional commits, odoo or semantic git commits","archived":false,"fork":false,"pushed_at":"2025-04-10T22:03:26.000Z","size":217,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T22:33:32.285Z","etag":null,"topics":["cli","command-line","commit","conventional","conventional-commit","conventional-commits","git","odoo","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marco-gallegos.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-31T22:18:40.000Z","updated_at":"2025-04-10T22:03:30.000Z","dependencies_parsed_at":"2024-11-16T00:45:37.421Z","dependency_job_id":null,"html_url":"https://github.com/marco-gallegos/commit-cli","commit_stats":{"total_commits":71,"total_committers":2,"mean_commits":35.5,"dds":0.2535211267605634,"last_synced_commit":"d500dfe921c5622b87dc26a18f3b84d35ea67c9d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fcommit-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fcommit-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fcommit-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fcommit-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marco-gallegos","download_url":"https://codeload.github.com/marco-gallegos/commit-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248311796,"owners_count":21082632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","commit","conventional","conventional-commit","conventional-commits","git","odoo","python"],"created_at":"2024-11-16T00:35:20.549Z","updated_at":"2025-04-14T07:21:20.883Z","avatar_url":"https://github.com/marco-gallegos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Commmit Cli\n\nThis 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.\n\nCheckit out on [pypi](https://pypi.org/project/commitcli/).\n\nIs a wrapper of the `git commit -m` command writed with 💟 on Python.\n\nThis was tested on a raspbian and a fedora OS with the nano, nvim and vim editor.\n\nsupported formats:\n\n- short odoo\n- conventional commits\n- semantic git commits\n- free (this is like use native `git commit` command)\n\n## Features\n\n### Commitcli configuration file per project\n\nYou can add a `.commitclirc` file in your project directory.\n\nyou can copy the global `.commitclirc` file to your project directory and edit it to use a diferent format.\n\n```shell\ncp ~/.commitclirc .commitclirc\n```\n\n## Installation\n\n#### 1 - Install the package\n\nnote : use sudo if the local (user) python bin dir is not in the path\n\n```shell\nsudo pip install commitcli\n```\n\nexample content of the `.commitclirc` file:\n```shell\n#Format for every commit\n#supported formats free, odoo, sgc(semantic git commits) and cc (conventional commits)\nformat=odoo\n\n#Option to sign the commits o every commit, must be True or False\nsigngpg=False\n```\n\nchange this to use cc on your project:\n```shell\n#Format for every commit\n#supported formats free, odoo, sgc(semantic git commits) and cc (conventional commits)\nformat=cc\n\n#Option to sign the commits o every commit, must be True or False\nsigngpg=False\n```\n\nsave this file and add to your git repository and every comand will use cc format on this project.\n\n#### 2 - Enjoy\n\nAdd files to commit\n\n```shell\ngit add .\n```\n\n\nUse the tool\n\n```shell\ncommitcli\n```\n\n### Example\n\n#### Odoo (default)\n\n![ejemplo de imagen](./static/img/example.png)\n\n## Configuration\n\nThis 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:\n\n- odoo\n- cc\n- free\n\n\n## Next Updates\n- [ ] only make a echo of a format\n- [ ] cli inline option to specify format (oddo, sgc, etc)\n- [ ] module list to chose for context in cc or something like this `type(context)`\n- [ ] quick templates\n  - clean up\n- [ ] smarter\n  - store module list and provide a list of modules to choose from and the last by default\n- [ ] create branches\n  - use format \u003cusername\u003e/\u003ctype \"ej fix\"\u003e/\u003cfree name\u003e \n\n#### Formats\n\n- [x]  conventional commits [CC](https://www.conventionalcommits.org/en/v1.0.0/) \n- [x]  semantic git commit [SGC](https://www.npmjs.com/package/semantic-git-commit-cli)\n- [x]  odoo tags [Odoo](https://www.odoo.com/documentation/14.0/reference/guidelines.html#git)\n\n\n## Development\n\n\n## Help\n\nusing without install from the source \n\npython -m commitcli\n\n\n## References\n\nhttps://magmax.org/python-inquirer/\n\nhttps://python-packaging.readthedocs.io/en/latest/command-line-scripts.html\n\nhttps://setuptools.readthedocs.io/en/latest/userguide/entry_point.html\n\nhttps://medium.com/better-programming/python-click-building-your-first-command-line-interface-application-6947d5319ef7","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarco-gallegos%2Fcommit-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarco-gallegos%2Fcommit-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarco-gallegos%2Fcommit-cli/lists"}