Program
CLI tool for database schema operations: migrate from YAML and export C# schemas to YAML. This is the ONLY canonical tool for database creation - all projects MUST use this.
public static class Program
Methods
Main(string[])
public static int Main(string[] args)
Entry point - dispatches to migrate or export subcommand. Usage: migrate: dotnet run -- migrate --schema path/to/schema.yaml --output path/to/database.db --provider [sqlite|postgres] export: dotnet run -- export --assembly path/to/assembly.dll --type Namespace.SchemaClass --output path/to/schema.yaml
Parameters:
| Name | Type | Description |
|---|---|---|
args |
String[] |
Returns: Int32