Socket
Socket
Sign inDemoInstall

fulton-cli

Package Overview
Dependencies
227
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fulton-cli

the cli for fulton


Version published
Weekly downloads
12
decreased by-14.29%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Fulton CLI

CLI tool for Fulton that help you get start with Fulton.

Installation

npm i -g fulton-cli

Commands

type fulton or fulton help <command> to see the all usages. all commands support wizard style to help you complete the command, or you con provide the particular options directly to skip the wizard.

New

new command helps you create a new web project powered by fulton-server

fulton-new

Usage:
  • fulton new [name] or fulton n [name]
    • [name] the name of the app*
Options:
  • -d, --databases <engine,engine,engine,...> the database engines the app uses
    • the support engines are:
      • mongodb
      • mysql (soon)
      • mssql (soon)
      • postgres (soon)
      • others (soon)
  • -f, --features <feature,feature,feature,...> enabled the features of the app
    • identitiy - this feature is involved supporting User Register, Login, Authentication and Authorization.
    • oauth-google - this feature is involved supporting Google OAuth Login.
    • oauth-facebook - this feature is involved supporting Facebook OAuth Login.
    • oauth-github - this feature is involved supporting GitHub OAuth Login.
    • api-docs - this feature is involved supporting Swagger UI documentation.
    • compression - this feature is involved supporting compression http response.
    • cors - this feature is involved supporting broswer cors.
    • email - this feature is involved supporting sending email to users.
    • json-api - this feature is involved supporting response json-api format.
    • docker - this feature is involved supporting docker.

Generate

generate command helps you scaffolding files

fulton-new

Schematic

Supported schematics:

  • e, entity scaffolding a entity of Database ORM file.
  • n, entity-router scaffolding a router file.
  • r, router scaffolding a router file.
  • s, service scaffolding a service file.
Options:
  • -f, --force override the file if it exists.
  • --not-open not open the file after it is generated.
  • --not-import not import the reference into app.ts after it is generated.

Feature

feature command helps you add or remove features

fulton-feature

Global Options

  • -h, --help Display help.
  • --no-color Disable colors.

Keywords

FAQs

Last updated on 25 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc