commit prompt using commitlint.config.js
npm install --g @commitlint/prompt-cli @commitlint/config-angular
echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint.config.js
git add .
commit
A full usage guide is available at docs/prompt.