Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

dolliejs/dollie-core

Repository files navigation

Dollie Core

Shields Build Status Circle CI Build License GitHub Version

Dollie.js is a generator for generating everything, based on Yeoman. Dollie core is the essential components for Dollie.js.

Usage

CLI

Installation

npm i @dollie/cli -g

Run Dollie

# Interactive mode
dollie

# Compose mode
dollie compose ./config.yml

Programmatic API

Installation

npm i @dollie/core -S

Set up Environment

// by CommonJS
const dollie = require('@dollie/core').default;
// or by ES6
import dollie from '@dollie/core';

const app = async () => {
  try {
    await dollie.interactive();
  } catch (e) {
    log.error(e.toString());
    process.exit(1);
  }
};

app();

License