Project Auth Generate
Generate SQL schema for Agentuity Auth tables
Prerequisites
- Project context required (run from project directory or use
--project-id)
Usage
agentuity project auth generate [options]
Options
| Option |
Type |
Required |
Default |
Description |
--output |
string |
Yes |
- |
Output path for generated SQL (default: ./agentuity-auth-schema.sql). Use "-" for stdout. |
Examples
Generate SQL schema and save to agentuity-auth-schema.sql:
bunx @agentuity/cli project auth generate
Generate schema to a custom path:
bunx @agentuity/cli project auth generate --output ./migrations/auth.sql
Output SQL to stdout:
bunx @agentuity/cli project auth generate --output -
Output
Returns JSON object:
{
"success": "boolean",
"outputPath": "string"
}
| Field |
Type |
Description |
success |
boolean |
Whether generation succeeded |
outputPath |
string |
Path where SQL was written |