Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cgwire/zou/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Zou provides a comprehensive command-line interface (CLI) for managing your Kitsu API instance. The CLI is built using Python Click and offers commands for database management, user administration, data synchronization, and more.Installation
The Zou CLI is installed automatically when you install Zou:Basic Usage
All Zou commands follow this pattern:Command Categories
The Zou CLI commands are organized into several categories:Database Management
Commands for initializing, migrating, and managing the database schema:init-db- Create database tablesupgrade-db- Upgrade database schemamigrate-db- Generate migration filesreset-db- Drop and recreate tablesclear-db- Drop all tables
User Administration
Commands for managing users, authentication, and permissions:create-admin- Create admin userschange-password- Change user passwordscreate-bot- Create bot accountssync-with-ldap-server- Sync users from LDAP
Data Synchronization
Commands for syncing data between Zou instances:sync-full- Full data synchronizationsync-changes- Continuous change synchronizationsync-last-events- Sync recent events
File Management
Commands for managing preview files and storage:upload-files-to-cloud-storage- Upload files to cloud storagedownload-storage-files- Download files from cloud storagegenerate-preview-extra- Generate preview thumbnails and tiles
Plugin Management
Commands for installing and managing Zou plugins:install-plugin- Install a pluginlist-plugins- List installed pluginsuninstall-plugin- Remove a plugin
Configuration
Zou uses environment variables for configuration. Make sure the following variables are set:Common Workflows
Initial Setup
When setting up a new Zou instance:Upgrading
When upgrading Zou to a new version:Maintenance
Regular maintenance tasks:Getting Help
For any command, use the--help flag to see detailed usage information:
Next Steps
- Database Commands - Learn about database management commands
- Admin Commands - Learn about user and system administration commands