Skip to content

A CLI for creating even better commits following the conventional commits specification, but for Swifties

License

Notifications You must be signed in to change notification settings

christina-de-martinez/swift-commits

 
 

Repository files navigation

Swift Commits

swift commits is enabled downloads

A CLI for writing better commits—made by and for Swifties.

Watch the Swift Commits short on YouTube

✨ As easy as knowing all the words to your old favorite song

  • Choose between quill, fountain pen, or glitter gel pen commit types.
  • Select which era your code belongs in—that's your scope.
  • Choose from pre-selected lyrics that match your type and scope—your new commit message.
  • Get commit messages like these:
quill(midnights): It was all by design, cause I'm a mastermind.
fountain(midnights): Dear reader, burn all the files.
glitter-gel(fearless): It's flawless, really something.

🚀 Is it too soon to do this yet?

npm install -g swift-commits

When you're ready to commit. To run the CLI in your terminal:

swift-commits
# or
npx swift-commits

It will prompt a series of questions. These prompts will build a commit message, which you can preview, before confirming the commit.

🌌 Long live all the magic we made

You can add this badge to your repository to display that you're using a swift-commits repository config

Markdown Result
[![swift commits is enabled](https://img.shields.io/badge/swift--commits-enabled?style=for-the-badge&logo=git&color=a6e3a1&logoColor=D9E0EE&labelColor=302D41)](https://github.com/christina-de-martinez/swift-commits) swift commits is enabled

🪶 It was all by design

The two masterminds who correctly guessed the number of references in my video are craftycarmen and Shereen.

Technically it was 14 references, but 13 lyrics:

  • Treacherous
  • All Too Well
  • Long Story Short
  • I can fix it (no really, I can)
  • Style
  • Era (reference, but not really a lyric)
  • Midnights (I didn't originally count this one since I was just narrating what was on the screen)
  • It was all by design because I'm a mastermind
  • Hits different
  • You are in love
  • I wish you would
  • I gave my blood, sweat, and tears for this
  • You need to calm down
  • Eyes open

About

A CLI for creating even better commits following the conventional commits specification, but for Swifties

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.5%
  • JavaScript 47.5%