Commands

Skulljs comes with a CLI and commands for performing common tasks.


sk new

Create new project based on github repositories templates

Usage

sk new <project-name> [options]
sk n <project-name> [options]

Arguments

ArgumentDescriptionTypeRequired
<project-name>name of the new projectstringtrue

Options

OptionDescription
--back -bgenerate only the backend part
--front -fgenerate only the frontend part

Example

sk new my-awesome-project

sk route:generate

Feature

Generate a new route for the backend repository and a new service for the frontend repository based on the user’s answers

Usage

sk route:generate <route-path> [options]
sk rg <route-path> [options]

Arguments

ArgumentDescriptionTypeRequired
<route-path>path for the route to be created (ex : example/my-route). If not provided it will be asked to the user.stringfalse

Options

OptionDescription
--no-serviceskip the service generation

Example

sk route:generate

sk doc

Feature

Generate the documentation for the skulljs project

Usage

sk doc

Example

sk doc

sk build

Feature

Build both frontend and backend projects into a dist folder ready to be used for PM2 or Docker.

See deployment guide for more informations.

Usage

sk build

Example

sk build