From f551d8b87e66dacf58813bc50c37a54a7384d40a Mon Sep 17 00:00:00 2001 From: Jake Bolam Date: Tue, 15 Jan 2019 22:52:32 +0800 Subject: [PATCH] feat: add init content api for node api (#144) * feat: add init content api for node * feat: add init content api for node --- src/api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api.js b/src/api.js index 21231bb..7e4b085 100644 --- a/src/api.js +++ b/src/api.js @@ -7,6 +7,7 @@ const chalk = require('chalk') const addContributorWithDetails = require('./contributors/addWithDetails') const generate = require('./generate') +const { addContributorsList, addBadge } = require('./init-content') process.stdout.write( chalk.yellow( @@ -19,4 +20,6 @@ process.stdout.write( module.exports = { addContributorWithDetails, generate, + initContributorsList: addContributorsList, + initBadge: addBadge, }