A tool for intuitively writing git commits that adhere to the Conventional Commits standards.
Project description
Wommit
Write commit tool
A package for intuitively formatting appealing commmit messages with emojis, using an assortment of different methods.
Installation:
pip install wommit
Usage:
Autocomplete mode
Menu mode
- Tab will call the autocompleters, although
complete while typing
is activated.- Starting autocomplete mode by hitting Tab will bring up the types added to the project.
- Adding
(
after the feature in autocomplete mode will autocomplete the scopes added to the project. #
in the body of either mode will autocomplete active issues and PRs.(
in the body of either mode will autocomplete recent commits.- Answering yes to the Breaking Change prompt in menu mode or writing
BREAKING CHANGE
in the autocomplete mode will mark the commit as a breaking change.- Autocomplete mode will attempt to autocomplete
BREAKING CHANGE:
if it's on a clean line.
- Autocomplete mode will attempt to autocomplete
- Both modes will only terminate if their input is correctly formatted.
Commands
wommit ...
:
-
c
: Commit all staged files using an intuitive selection menu or a fast autocompletion prompt.Options:
-m
: Use menu mode, overriding default./-e
: Use autocompletion mode, overriding default.-a
: Add all files to commit. (git add .
)-m [MESSAGE]
: Write a manual commit message, and commits if it's in the accepted format, as well as converting known types to emojis.-g
: Use global settings and data instead of local.--test
: Test either of the modes without commiting.
-
check
: Manually check previously added commit.Options:
-id [HASH]
: Check a commit message with the specified ID.-ids [HASH1] [HASH2]
: Check all commit messages between two IDs (newest ID first).-m [MESSAGE]
: Check if the given string passes the check.-l
: Check all local commits that have not been pushed.
-
configure ...
: Opens a prompt for adding/removing types and scopes.e
: Edit current types and scopes.p
: Prints all types and scopes.s
: Edit settings.
Options:
-g
: Edit global settings.-t
: Manually test the functionality.
-
changelog
: Prints out a changelog generated from commits since last release.Options:
-r
: Prints a changelog designed for Github releases.-b
: Prints an easily readable changelog.-e
: EXPERIMENTAL: edit the latest Github release with the generated changelog.post
: Checks commits between two latest releases instead of latest to now.
-
format
: Pastes the format a message needs to meet in order to pass the check.
Info
Use the wommit-changelog-action in your wommit project to automatically release your project with appropriate changelogs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wommit-20.8.39.tar.gz
.
File metadata
- Download URL: wommit-20.8.39.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216e3151c8448af79ed9c5f355ef2859a4c0818a4317e1f31c3f19c49b207d7a |
|
MD5 | 95d0f6ce03cfe0a322fddba1485d1df2 |
|
BLAKE2b-256 | 4cf78469bb048d25b2117d8001d8dd801241ca5fdb0b00f336bb612c92905f0d |
File details
Details for the file wommit-20.8.39-py3-none-any.whl
.
File metadata
- Download URL: wommit-20.8.39-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b43b7a3817d5dfc3c33e8be860d873df1522c712b5ab1f97584f5ba57fe25eac |
|
MD5 | 1bf7c6e23fa0e8fe8030877f5ee61520 |
|
BLAKE2b-256 | 1f3614e15169e27b38256a2a8f4a7b3a59e96758d83f0209e61a9922c62aa5c2 |