Skip to content
Back to Changelog

Appwrite CLI now supports multi-file project configuration

Appwrite CLI 20.0.0 adds support for splitting large appwrite.config.json files into multiple local JSON files with a new includes field.

You can move supported resource arrays, such as functions, sites, tablesDB, tables, topics, teams, buckets, webhooks, and messages, into their own files while keeping init, pull, push, and run workflows unchanged. The CLI reads included resources into the same in-memory config shape and writes updates back to the file where each resource is defined.

Function and site paths are resolved relative to the file that defines them, so nested workspaces, packages, and submodules can keep resource configuration and source paths together.

JSON
{
    "projectId": "<PROJECT_ID>",
    "endpoint": "https://<REGION>.cloud.appwrite.io/v1",
    "includes": {
        "functions": "./appwrite/functions.json",
        "sites": "./appwrite/sites.json",
        "buckets": "./appwrite/buckets.json"
    }
}

Learn more about multi-file configuration

Start building like a team of hundreds today_

Free
$0

A great fit for passion projects and small applications.

Start building for free
Pro Popular
$25 /month

For production applications that need powerful functionality and resources to scale.

Start building for free
Enterprise
Custom

For enterprises that need more power and premium support.

Contact us