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