Skip to main content

Test Codecov PyPI

convmoji

A simple cli tool to commit Conventional Commits.

Requirements

PyPI - Python Version

Install

pip install convmoji
convmoji --help

Commit types

For details on commit types see conventional commits spec.

  • feat: ✨
  • fix: 🐛
  • docs: 📚
  • style: 💎
  • refactor: 🔨
  • perf: 🚀
  • test: 🚨
  • build: 📦
  • ci: 👷
  • chore: 🔧

Examples

A conventianal commit

convmoji "epic feature added" feat

One with a scope

convmoji "epic feature added" feat --scope somescope
# ✨: epic feature added

With options

convmoji "epic feature added" feat --scope somescope --amend --no-verify
# ✨(somescope): epic feature added --amend --no-verify

With more informative text

convmoji "epic feature added" feat --scope somescope \
  --body "more body information" --foot "more footer information"
# ✨(somescope): epic feature added
# 
# more body information
# 
# more footer information

Inform people about breaking changes

convmoji "epic feature added" feat --scope somescope \
  --body "more body information" --footer "more footer information" \
  --breaking-changes "breaks somthing"
# ✨‼️(somescope): epic feature added
# 
# more body information
# 
# BREAKING CHANGE: breaks somthing
# more footer information

Lost track of what scope string to use? Run the following to view all scopes used in the mentioned conventional commits spec format.

convmoji --show-scopes
# README
# action
# actions
# cli-options
# coverage
# documentation
# error-handling
# pipy
# readme
# trynerror

If you want to see what to does without performing the action, run it with --debug. This will prompt the commit command.

If you want to work with some sort of paste tool or other workflow, for example to pipe results back to ide and commit stuff there, run command with --print. This will only prompt the commit message.

convmoji --help

Usage:

$ convmoji [OPTIONS] DESCRIPTION [COMMIT_TYPE]

Arguments:

  • DESCRIPTION: Commit message, as in 'git commit -m "..."' [required]
  • [COMMIT_TYPE]: Either of [feat, fix, docs, style, refactor, perf, test, build, ci, chore] [default: feat]

Options:

  • -s, --scope TEXT: Scope for commit (any string) [default: ]
  • -b, --body TEXT: Body message for commit [default: ]
  • -f, --foot TEXT: Footer message (formatted two blank lines below body) [default: ]
  • --breaking-changes, --bc TEXT: Specially formatted message to show changes might break previous versions [default: ]
  • --amend: Execute commit with --amend [default: False]
  • --no-verify: Execute commit with --no-verify [default: False]
  • --co-authored_by, --co TEXT: A string of authors formatted like: --co-authored-by '<User user@no-reply> ' --co-authored-by '<User2 user2@no-reply>'
  • --debug: Debug mode (does not execute commit) [default: False]
  • --show-scopes: A helper that shows scopes used with convmoji. (does not execute commit)
  • --info: Prompt convmoji info (does not execute commit)
  • --version: Prompt convmoji version (does not execute commit)
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Metadata

Release files for convmoji 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for convmoji 0.1.6
File Size Uploaded Provenance Actions
convmoji-0.1.6.tar.gz 6.5 kB Without provenance Details for convmoji-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for convmoji 0.1.6
File Interpreter ABI Platform Actions
convmoji-0.1.6-py3-none-any.whl Python 3 none any Details for convmoji-0.1.6-py3-none-any.whl

Total release size: 13.5 kB

Release files / convmoji-0.1.6.tar.gz

Download URL convmoji-0.1.6.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d53a126544a971a4f4b02ad2c8ffb3792a116f0135babb1f66de2af7f4ba8fbf
BLAKE2b-256 checksum
How to use checksums
fa5c8193e77b379d7f5695fbebfaadbc651e503be352c1b88eef2451cae2b2bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.2 Linux/5.11.0-1028-azure

Release files / convmoji-0.1.6-py3-none-any.whl

Download URL convmoji-0.1.6-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f505ecb51c8913a11168d689175f62a2ea7f9ab41232575fe7eb7f05aae68852
BLAKE2b-256 checksum
How to use checksums
fa8ffec857db2907a3d69c6c171269f2005fee0bb6ff94cfac6c9c429f0826fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.2 Linux/5.11.0-1028-azure

Security for convmoji 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page