Skip to content

realglobe-Inc/sugo-scaffold

Repository files navigation

sugo-scaffold

Build Status npm Version JS Standard

Scaffold generator for SUGOS

Installation

$ npm install sugo-scaffold --save

Usage

#!/usr/bin/env node

'use strict'

const sugoScaffold = require('sugo-scaffold')

// Generate module project
sugoScaffold(
  'module', // Type
  'my-projects/my-custom-module', // Destination directory
  {
    force: false
  }
)
  .then(() => console.log('done!'))
  .catch((err) => console.error(err))

CLI Usage

Install as a global module

$ npm install sugo-scaffold -g

Then,

# Generate module project
sugo-scaffold module "my-projects/my-custom-module"

Types

Available template types

License

This software is released under the Apache-2.0 License.

Links