npm package: @flowcore/cli-plugin-generator
Description: Plugin to generate tools, transformers and applications for the Flowcore Platform
Author: flowcore-platform
Latest version: 1.6.0

Flowcore CLI Plugin - Generator
=================

Plugin to generate tools, transformers and applications for the Flowcore Platform

[![Version](https://img.shields.io/npm/v/@flowcore/flowcore-cli-plugin-generator)](https://npmjs.org/package/@flowcore/flowcore-cli-plugin-generator)
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Build and Release](https://github.com/@flowcore/flowcore-cli-plugin-generator/actions/workflows/build.yml/badge.svg)](https://github.com/@flowcore/flowcore-cli-plugin-generator/actions/workflows/build.yml)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @flowcore/cli-plugin-generator
$ generator COMMAND
running command...
$ generator (--version)
@flowcore/cli-plugin-generator/1.3.0 darwin-arm64 node-v20.15.0
$ generator --help [COMMAND]
USAGE
  $ generator COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`generator generate nextjs-entity NAME`](#generator-generate-nextjs-entity-name)
* [`generator new bun-service NAME`](#generator-new-bun-service-name)
* [`generator new generator NAME`](#generator-new-generator-name)
* [`generator new nextjs-app NAME`](#generator-new-nextjs-app-name)
* [`generator new plugin NAME`](#generator-new-plugin-name)
* [`generator new transformer NAME`](#generator-new-transformer-name)

## `generator generate nextjs-entity NAME`

Create a new NextJS entity using the Flowcore IDD approach

```
USAGE
  $ generator generate nextjs-entity NAME [--profile <value>]

ARGUMENTS
  NAME  name of the entity to generate

FLAGS
  --profile=<value>  Specify the configuration profile to use

DESCRIPTION
  Create a new NextJS entity using the Flowcore IDD approach

EXAMPLES
  $ generator generate nextjs-entity my-entity
```

_See code: [src/commands/generate/nextjs-entity.ts](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.0/src/commands/generate/nextjs-entity.ts)_

## `generator new bun-service NAME`

Create a new Bun service

```
USAGE
  $ generator new bun-service NAME [--profile <value>] [--no-flowcore]

ARGUMENTS
  NAME  name of the bun service

FLAGS
  --no-flowcore      do not use flowcore
  --profile=<value>  Specify the configuration profile to use

DESCRIPTION
  Create a new Bun service

EXAMPLES
  $ generator new bun-service my-service

  $ generator new bun-service my-service --no-flowcore
```

_See code: [src/commands/new/bun-service.ts](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.0/src/commands/new/bun-service.ts)_

## `generator new generator NAME`

Create a new generator

```
USAGE
  $ generator new generator NAME [--profile <value>]

ARGUMENTS
  NAME  name of the generator

FLAGS
  --profile=<value>  Specify the configuration profile to use

DESCRIPTION
  Create a new generator

EXAMPLES
  $ generator new generator my-generator
```

_See code: [src/commands/new/generator.ts](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.0/src/commands/new/generator.ts)_

## `generator new nextjs-app NAME`

Create a new NextJS application using the Flowcore IDD approach

```
USAGE
  $ generator new nextjs-app NAME [--profile <value>]

ARGUMENTS
  NAME  name of the nextjs app

FLAGS
  --profile=<value>  Specify the configuration profile to use

DESCRIPTION
  Create a new NextJS application using the Flowcore IDD approach

EXAMPLES
  $ generator new nextjs-app my-app
```

_See code: [src/commands/new/nextjs-app.ts](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.0/src/commands/new/nextjs-app.ts)_

## `generator new plugin NAME`

Create a new plugin

```
USAGE
  $ generator new plugin NAME [--profile <value>]

ARGUMENTS
  NAME  name of the plugin

FLAGS
  --profile=<value>  Specify the configuration profile to use

DESCRIPTION
  Create a new plugin

EXAMPLES
  $ generator new plugin my-plugin
```

_See code: [src/commands/new/plugin.ts](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.0/src/commands/new/plugin.ts)_

## `generator new transformer NAME`

Create a new Bun transformer

```
USAGE
  $ generator new transformer NAME [--profile <value>] [--no-flowcore]

ARGUMENTS
  NAME  name of the bun transformer

FLAGS
  --no-flowcore      do not use flowcore
  --profile=<value>  Specify the configuration profile to use

DESCRIPTION
  Create a new Bun transformer

EXAMPLES
  $ generator new transformer my-transformer

  $ generator new transformer my-transformer --no-flowcore
```

_See code: [src/commands/new/transformer.ts](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.0/src/commands/new/transformer.ts)_
<!-- commandsstop -->