Add Custom commands #1456
-
I'd like to add a custom command to alembic that produces a data migration. Gemini and chatGPT hallucinate something about:
so this may have been possible with a previous version. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
sure, it's CommandLine and it's right here: https://github.com/sqlalchemy/alembic/blob/main/alembic/config.py#L347 source code is straightforward |
Beta Was this translation helpful? Give feedback.
-
Sure, I can maintain a fork the question was more if it is possible with a plugin like system. |
Beta Was this translation helpful? Give feedback.
sure, it's CommandLine and it's right here: https://github.com/sqlalchemy/alembic/blob/main/alembic/config.py#L347 source code is straightforward