condensetech / directuspt

Directus CLI Tool to help with snapshotting, seeding, and more
MIT License
5 stars 1 forks source link

DirectusPT

A CLI to help operate on Directus in a GitOps style.

To get started, install it with npm i -g directuspt

Usage

Snapshot

directuspt snapshot will snapshot directus schema, permissions, folders and translations as a set of json files.

Additional options are:

Example:

directuspt snapshot --roles-filter '{"admin_access":{"_eq":false}}' --except folders,schema

Apply

It applies the snapshot taken with directuspt snapshot.

Additional options are:

Example:

directuspt apply --only permissions,translations

Common options

TODO

Next steps: