Mandarine.TS
Latest
Latest
  • Mandarine.TS
  • Getting started
    • Installing Deno Runtime
    • Setting up Environment
    • Quick Example
  • Concepts
  • Mandarine Project Structure
  • Mandarine CLI
    • CLI Reference
      • mandarine new
      • mandarine generate
      • mandarine run
  • Mandarine Core
    • Core Initialization
    • Mandarine.json
    • Dot env file
    • Properties
      • The @Value Decorator
    • Components
      • Controller
      • Middleware
      • Repository
      • Component
      • Service
      • Configuration
      • Manual Component
    • Dependency Injection
      • Accessing DI container
    • Resource Handlers
      • Resource Handler Registry
      • Resource Handler
      • Resource Resolver
  • Mandarine MVC
    • Web MVC
    • Controllers
      • Routes
        • Parameterized Routes
      • HTTP Handlers
      • @ResponseStatus
    • Custom Middleware
    • Session Middleware
    • CORS Middleware
    • Template Engine
      • @Render Decorator
      • Accessing data from template
    • Launching web-app
    • Serving Static Content
    • Multipart Form Data
  • Mandarine Security
    • Sessions
  • Mandarine Data
    • ORM
      • Data source
      • Models
      • Repositories
        • Interacting with data
        • Updating data
    • Mandarine Query Language
  • Resources
    • Changelog
  • Plugins
    • Optional
    • Promise Repeater
Powered by GitBook
On this page
  • mandarine generate
  • Arguments
  • Types

Was this helpful?

  1. Mandarine CLI
  2. CLI Reference

mandarine generate

mandarine generate

Generates a Mandarine-powered module.

mandarine generate [MODULE NAME] [TYPES]

Arguments

Argument

Description

[Module name]

Name of the module to create

Types

Type

Description

--controller (-c)

Adds a Controller component to the module.

--service (-s)

Adds a Service component to the module.

--component

Adds a regular mandarine-powered component to the module.

--middleware (-m)

Adds a middleware component to the module.

--repository (-r)

Adds a repository component to the module.

--model

Adds a mandarine-powered database model to the module.

--configuration

Adds a configuration component to the module.

Previousmandarine newNextmandarine run

Last updated 4 years ago

Was this helpful?