Make conventional commits, faster, and consistently name scopes
shell,script(name="help",expected_exit_code=0)
fast-conventional --help
``` text,verify(script_name="help",stream=stdout) fast-conventional 1.0.16 Billie Thompson billie@billiecodes.com Make conventional commits, faster, and consistently name scopes
USAGE:
fast-conventional [OPTIONS]
ARGS:
OPTIONS:
-c, --config
See the releases page we build for linux and mac (all x86_64), alternatively use brew
shell,skip()
brew install PurpleBooth/repo/fast-conventional
This binary is designed to be run as a editor in git. To install it run
shell,skip()
git config --global alias.fci '-c "core.editor=fast-conventional" commit'
To trigger it when you commit run
shell,skip()
git fci
.fastconventional.yaml
yaml,file(path=".fastconventional.yaml")
use_angular: true
types: [ci]
scopes: ["mergify", "just", "github"]
``` text,file(path="commit.txt")
#
#
```
We have a nice interactive UI.
We can fake it using the below example simulates the steps
shell,script(name="full")
{
sleep 1
echo -ne "fix\r"
sleep 1
echo -ne "github\r"
sleep 1
echo -ne "Something that changed\r"
sleep 1
echo -ne "the subject goes here\r"
sleep 1
echo -ne "\r"
} | socat - EXEC:'fast-conventional commit.txt',pty,setsid,ctty
Now if we look at the commit
shell,script(name="cat-file")
cat commit.txt
``` text,verify(name="cat-file") fix(github)!: the subject goes here
BREAKING CHANGE: Something that changed ```