.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH USAGE: "1" "January 2023" "usage: yoyo [-h] [--config CONFIG] [-v] [-b] [--no-config-file]" "User Commands" .SH NAME usage: \- Database schema migration tool .SH DESCRIPTION usage: yoyo [\-h] [\-\-config CONFIG] [\-v] [\-b] [\-\-no\-config\-file] .IP {init,apply,develop,list,rollback,reapply,mark,unmark,break\-lock,new} \&... .SS "positional arguments:" .TP {init,apply,develop,list,rollback,reapply,mark,unmark,break\-lock,new} Commands help .TP init Initialize a new project .TP apply Apply migrations .TP develop Apply migrations without prompting. If there are no unapplied migrations, reapply the last migration .TP list List all available and applied migrations. Each listed migration is prefixed with either A (applied) or U (unapplied) .TP rollback Rollback migrations .TP reapply Rollback then reapply migrations .TP mark Mark migrations as applied, without running them .TP unmark Unmark applied migrations, without rolling them back .TP break\-lock Break migration locks .TP new Create a new migration .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-config\fR CONFIG, \fB\-c\fR CONFIG Path to config file .TP \fB\-v\fR Verbose output. Use multiple times to increase level of verbosity .TP \fB\-b\fR, \fB\-\-batch\fR Run in batch mode. Turns off all user prompts .TP \fB\-\-no\-config\-file\fR, \fB\-\-no\-cache\fR Don't look for a yoyo.ini config file .IP {init,apply,develop,list,rollback,reapply,mark,unmark,break\-lock,new} \&... .SS "positional arguments:" .TP {init,apply,develop,list,rollback,reapply,mark,unmark,break\-lock,new} Commands help .TP init Initialize a new project .TP apply Apply migrations .TP develop Apply migrations without prompting. If there are no unapplied migrations, reapply the last migration .TP list List all available and applied migrations. Each listed migration is prefixed with either A (applied) or U (unapplied) .TP rollback Rollback migrations .TP reapply Rollback then reapply migrations .TP mark Mark migrations as applied, without running them .TP unmark Unmark applied migrations, without rolling them back .TP break\-lock Break migration locks .TP new Create a new migration .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-config\fR CONFIG, \fB\-c\fR CONFIG Path to config file .TP \fB\-v\fR Verbose output. Use multiple times to increase level of verbosity .TP \fB\-b\fR, \fB\-\-batch\fR Run in batch mode. Turns off all user prompts .TP \fB\-\-no\-config\-file\fR, \fB\-\-no\-cache\fR Don't look for a yoyo.ini config file