@flowcore/cli-plugin-generator
v1.6.0
Published
Plugin to generate tools, transformers and applications for the Flowcore Platform
Downloads
221
Readme
Flowcore CLI Plugin - Generator
Plugin to generate tools, transformers and applications for the Flowcore Platform
Usage
$ 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
...
Commands
generator generate nextjs-entity NAME
generator new bun-service NAME
generator new generator NAME
generator new nextjs-app NAME
generator new plugin 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
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
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
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
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
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