Skip to main content

Manager CLI

info

The Manager module provides command-line tools for managing Fluvius applications.

Introduction

The Manager CLI (flvctl) provides:

  • Database schema management
  • Data import/export
  • Application management
  • Development utilities

Installation

The manager is available as a command-line tool:

# Run as module
python -m fluvius.manager

# Or use the manager script
./manager

Commands

Database Schema

# Create schema
flvctl db create-schema

# Drop schema
flvctl db drop-schema

# Export data
flvctl db export-data --output=data.json

# Import data
flvctl db import-data --input=data.json

Application Management

# Run application
flvctl run

# Check configuration
flvctl config check

Configuration

Manager uses config.ini for configuration:

[database]
url = postgresql://user:pass@localhost/db

[app]
namespace = my-app

Next Steps