mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-10 05:56:29 +00:00
feat: add init content api for node api (#144)
* feat: add init content api for node * feat: add init content api for node
This commit is contained in:
parent
bd8be137af
commit
f551d8b87e
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ const chalk = require('chalk')
|
||||||
|
|
||||||
const addContributorWithDetails = require('./contributors/addWithDetails')
|
const addContributorWithDetails = require('./contributors/addWithDetails')
|
||||||
const generate = require('./generate')
|
const generate = require('./generate')
|
||||||
|
const { addContributorsList, addBadge } = require('./init-content')
|
||||||
|
|
||||||
process.stdout.write(
|
process.stdout.write(
|
||||||
chalk.yellow(
|
chalk.yellow(
|
||||||
|
@ -19,4 +20,6 @@ process.stdout.write(
|
||||||
module.exports = {
|
module.exports = {
|
||||||
addContributorWithDetails,
|
addContributorWithDetails,
|
||||||
generate,
|
generate,
|
||||||
|
initContributorsList: addContributorsList,
|
||||||
|
initBadge: addBadge,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue