mix kirayedar.setup (Kirayedar v0.1.0)

View Source

Generates the complete Kirayedar multi-tenancy setup for your application.

This task will:

  • Generate the tenant model
  • Create the tenant table migration
  • Update your config.exs
  • Optionally generate LiveView CRUD

Usage

mix kirayedar.setup

You will be prompted for:

  • Tenant resource name (e.g., "Tenant", "Organization")
  • Whether to use binary_id (UUID)
  • Admin host domain
  • Whether to generate LiveViews

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

application()

run(args)

Callback implementation for Mix.Task.run/1.