Skip to content

Commit c746e1b

Browse files
mikerollzzzeek
authored andcommitted
Refactor CommandLine command registration
Added new :meth:`.CommandLine.register_command` method to :class:`.CommandLine`, intended to facilitate adding custom commands to Alembic's command line tool with minimal code required; previously this logic was embedded internally and was not publicly accessible. A new recipe demonstrating this use is added. Pull request courtesy Mikhail Bulash. Fixes: #1610 Closes: #1611 Pull-request: #1611 Pull-request-sha: d2ffce0 Change-Id: Icab9978357915e81bb52a9f0717f21d5ee7f8341
1 parent 41198bb commit c746e1b

File tree

4 files changed

+331
-203
lines changed

4 files changed

+331
-203
lines changed

0 commit comments

Comments
 (0)