Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @kosko/template-environment

@kosko/template-environment

Create a new environment.

Usage

npx @kosko/template-environment --name dev

Options

--name

Environment name. (Required)

Index

Variables

Object literals

Variables

Const INDEX_SCRIPT

INDEX_SCRIPT: ""use strict";module.exports = {};" = `"use strict";module.exports = {};`

Object literals

Const template

template: object

description

description: string = "Create a new environment"

generate

  • generate(__namedParameters: { name: string }): Promise<{ files: { content: string; path: string }[] }>
  • Parameters

    • __namedParameters: { name: string }
      • name: string

    Returns Promise<{ files: { content: string; path: string }[] }>

options

options: object

name

name: object

description

description: string = "Environment name"

required

required: true = true

type

type: "string" = "string"

Generated using TypeDoc