Make CLI more extensible #70
Closed
Labels
Comments
Michael Bayer (@zzzeek) wrote: here's a patch you can try: http://pastebin.com/96yKL7vD |
MichaelE (@miracle2k) wrote: config_file isn't used in _generate_args(), but other than that, this is pretty much what I imagined. Thanks. |
Changes by Michael Bayer (@zzzeek):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrated issue, originally created by MichaelE (@miracle2k)
I'd like to integrate alembic into a larger CMS-like system. For this, the fact that config.main requires either that the user specify a ini file, or that such a file exist in the current directory, is not very helpful. I need to duplicate the entirety of config.main to get rid of this.
I want to propose a patch which separates the command line parsing from the actual execution, such that a custom config object can be used.
It would be even better if a config option could be passed to the CLI code, and if so, the -c option is simply removed, but the rest works as-is.
The text was updated successfully, but these errors were encountered: