ALEMBIC(1)
π ALEMBIC(1) β the girl's guide to alembic
okay so this is the manual page for alembic version 1.7.5, and it lives in the User Commands section of the manual (that's the 1 in the corner, iykyk). bestie, this is the whole thing, nothing skipped, let's go π¦
β¨ NAME β¨
alembic β literally the manual page for alembic 1.7.5. that's the vibe. periodt.
πΈ DESCRIPTION πΈ
here's how you call it, exactly like this:
-c [-h] [--version] [-c CONFIG] [-n NAME] [-x X] [--raiseerr]
{branches,current,downgrade,edit,heads,history,init,list_templates,merge,revision,show,stamp,upgrade}
...
so cute, so structured. π
π positional arguments:
{branches,current,downgrade,edit,heads,history,init,list_templates,merge,revision,show,stamp,upgrade}β your whole menu of moves, one of these is the thing you actually want to do:branchesβ shows you the current branch points. like a lil map of where the timelines split πcurrentβ displays the current revision for a database. your "you are here" sticker πdowngradeβ reverts to a previous version. going backwards, no cap, sometimes necessary πeditβ edits revision script(s) using$EDITOR. it opens your editor, whoever your$EDITORis, iconic behaviour β¨headsβ shows the current available heads in the script directory. so you know what's out there π§historyβ lists changeset scripts in chronological order. the lore, in order πinitβ initializes a new scripts directory. the actual beginning of everything πlist_templatesβ lists the available templates. window-shopping but productive ποΈmergeβ merges two revisions together, and creates a new migration file while it's at it. main character energy π₯revisionβ creates a new revision file. fresh file, fresh start βshowβ shows the revision(s) denoted by the given symbol. πstampβ "stamps" the revision table with the given revision, and doesn't run any migrations. it's marking, not moving β do not confuse these π€upgradeβ upgrades to a later version. onwards and upwards bestie π¦
π optional arguments:
-h,--helpβ shows this help message and exits. the classic escape hatch π--versionβ shows the program's version number and exits. for when you need receipts π§Ύ-c CONFIG,--config CONFIGβ alternate config file; defaults to the value of theALEMBIC_CONFIGenvironment variable, or to"alembic.ini". yes, that's the default order of business, don't @ me π-n NAME,--name NAMEβ name of the section in the.inifile to use for the Alembic config. picking your section, very demure π-x Xβ additional arguments consumed by customenv.pyscripts, e.g.-x setting1=somesetting -x setting2=somesetting. pass it along, let the custom scripts have their little treats π--raiseerrβ raises a full stack trace on error. when you want the whole dramatic story ππ₯
ngl, that's the entire page β every flag, every command, every default, all accounted for. nothing left on read π
and that's a wrap, bestie π«Ά this page is alembic 1.7.5, dated June 2022, and it answers to the name ALEMBIC(1). slay, go migrate something responsibly πβ¨
π¦ where this page comes from
- centos-stream 9: python3-alembic 1.7.5-3.el9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms