AshScylla.Extension (AshScylla v1.5.3)

Copy Markdown View Source

AshScylla extension for mix ash.codegen and mix ash.migrate support.

This extension generates CQL migration files for AshScylla resources and runs them against the database.

Summary

Functions

parse_codegen_argv(argv)

@spec parse_codegen_argv(Ash.Extension.argv()) :: keyword()

Translates the mix ash.codegen argv into options for AshScylla.MigrationGenerator.generate/1.

Handles both a leading positional migration name and an explicit --name flag (Ash injects --name <name> for the positional argument), plus the shared --dev / --dry-run / --check / --force flags.