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
  • Main
  • Usage

Was this helpful?

  1. Mandarine CLI

CLI Reference

This page summarizes all the information related to the basics of the CLI.

PreviousMandarine Project StructureNextmandarine new

Last updated 4 years ago

Was this helpful?

Main

The Mandarine CLI is a command interface tool that you use to create Mandarine-powered applications as well as Mandarine-powered modules.

In order to install Mandarine's CLI, you need to have installed Deno in your computer. Then, run from your terminal the following command:

deno install --allow-read --allow-write --allow-run -n mandarine https://deno.land/x/mandarinets/cli.ts

Usage

mandarine [OPTIONS] [SUBCOMMAND]

Options:

Option

Description

-h, --help

Shows the help information of Mandarine's CLI.

-v, --version

Shows the version information of Mandarine's CLI

Subcommand:

Subcommand

Alias

Description

n

Creates a Mandarine-powered application (following Mandarine's project structure) in the current working directory.

g

Generates a Mandarine-powered module.

r

Compiles & Run the mandarine application located in the current working directory.

new
generate
run