Skip to content

Init

Noteworthy Features
  • First use: configures the directory as a FastAPI project
  • Additional uses: adds missing files to the directory

This command creates a FastAPI project in a specific directory based on a given <project_name>.

1
zentra-api init <project_name>

The project_name must be a string that is at least 2 characters long.

Optional Flags

Flag Description
--hide-output Suppresses the console output, hiding it from view.

You can read more about this command in our First Steps Tutorial.