sponsors-cli
v1.2.1
Published
## Usage
Downloads
2
Readme
sponsors-cli
Usage
# env
SPONSORS_LOGIN=github_username
SPONSORS_TOKEN=github_token
# sh
npx spnsors-cli
The token should include scopes read:org
and read:user
, here to generate one.
To use in actions you can fork 2nthony/sponsors-image then replace secrets and username in workflows.
Config
Support config file sponsors.config.js
, for more details read types.ts.
module.exports = {
/* options */
}
Credit
This is a "translate" job from @antfu's ./sponsors.svg but with opinionated features.
Example
The generated image is similar to vuesuse sponsors section, by default preset.
License
MIT @ 2nthony