Quickly generate metadata badges in terminal
Built with ❤︎ by tiaanduplessis and contributors
CLI just wraps badge-studio.
$ npm install badger-cli
# OR
$ yarn add badger-cli$ badger --subject=build --status=passing
#<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="88" height="20"># <linearGradient id="smooth" x2="0" y2="100%"># <stop offset="0" stop-color="#bbb" stop-opacity=".1"/># <stop offset="1" stop-opacity=".1"/># </linearGradient>## <clipPath id="round"># <rect width="88" height="20" rx="3" fill="#fff"/># </clipPath>## <g clip-path="url(#round)"># <rect width="37" height="20" fill="#555"/># <rect x="37" width="51" height="20" fill="#4c1"/># <rect width="88" height="20" fill="url(#smooth)"/># </g>## <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">### <text x="18.5" y="15" fill="#010101" fill-opacity=".3">build</text>## <text x="18.5" y="14" fill="#fff">build</text>## <text x="61.5" y="15" fill="#010101" fill-opacity=".3">passing</text>## <text x="61.5" y="14" fill="#fff">passing</text># </g>#</svg>Possible arguments:
--subject--status--logo
Contributions are welcome!
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Or open up a issue.
Licensed under the MIT License.