UNPKG

@ptkdev/all-shields-cli

Version:

Tool to help automate your badges of shields.io, badgen.net, fury.io, github action and snyk.io from .all-shieldsrc dotfile for your markdown files. You can use Liquid variables like {{name}} or {{version}} which refer to your package.json. Inspired by al

35 lines (34 loc) 694 B
/** * DotFiles Interface * ===================== * * Gets package.json and all-shields-cli rc dotfile * * @contributors: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev) * * @license: MIT License * */ export interface DotfilesResponseInterface { /** * Read package.json * ===================== * Get string of package.json * */ pkg: string; /** * Read .all-shieldsrc * ===================== * Get string of .all-shieldsrc / .all-shieldsrc.json dotfiles * */ rc: string; /** * Error * ===================== * Get error description from catch(err) * */ error?: string; }