Servest CLI Reference

This page documents all commands and options available in Servest, including both the project scaffolding CLI (create-servest) and the addon utility (servest).


create-servest

The create-servest CLI is used to scaffold new backend projects instantly — without any manual configuration.

CLI Options

FlagDescription
-t, --templateSpecify a project template (e.g., express-basic-js, express-mvc-ts).
-a, --addonsAdd one or more addons during project creation (optional).
-h, --helpDisplay help information.

Example:

Loading code snippet…

To learn more about create-servest, visit the guide section.


servest (Addons CLI)

The servest CLI is used inside an existing project to add utilities, generate files/folders, or configure integrations.

CLI Commands

CommandDescription
initDetects project structure and creates a servest.config.json file.
add <features...>Adds backend utilities or generates files/folders (e.g., mongoose, f-auth).
-v, --versionShow the installed Servest CLI version.
-h, --helpDisplay help information.

Example:

Loading code snippet…

To learn more about Servest addons, visit the addons section.