packages feed

moto 0.0.1 → 0.0.2

raw patch · 4 files changed

+128/−1 lines, 4 files

Files

+ CHANGELOG.md view
@@ -0,0 +1,8 @@+# Version 0.0.2++* Added file missing from distribution.+++# Version 0.0.1++* Initial version.
+ README.md view
@@ -0,0 +1,4 @@+moto+====++General purpose migrations library.
+ lib/moto/cli_help.docs view
@@ -0,0 +1,114 @@+{- $cli_help++This is the full description of the command line options supported by+'Moto.getOpts', using @Moto.File.fileRegistry@ as the registry.++Main program (here called @moto-example@):++@+Usage: moto-example COMMAND+  Command line interface to migrations.++Available options:+  -h,--help                Show this help text++Available commands:+  run                      Run migrations.+  show-migrations          Show available migrations.+  check-migrations         Exit immediately with status 0 if the available+                           migrations are compatible with the registry.+                           Otherwise, exit with status 1.+  show-registry            Show migrations registry.+  clean-registry           Clean a dirty migrations registry.+  delete-recovery-data     Delete contents from the migrations data store.+@++++Subcommand @run@:++@+Usage: moto-example run --registry URI [--backwards] [--mig ID] [--no-dry-run]+  Run migrations.++Available options:+  --registry URI           File where registry file is stored. E.g.,+                           file:\/\/\/var\/db\/migrations+  --mig ID                 If specified, only consider running the migration+                           identified by this ID. Use multiple times for+                           multiple migrations.+  --no-dry-run             Don't just show the execution plan, run it!+  -h,--help                Show this help text+@++++Subcommand @show-migrations@:++@+Usage: moto-example show-migrations [--dot]+  Show available migrations.++Available options:+  --dot                    Render graph in DOT (Graphviz) format.+  -h,--help                Show this help text+@++++Subcommand @check-migrations@:++@+Usage: moto-example check-migrations --registry URI+  Exit immediately with status 0 if the available migrations are compatible with+  the registry. Otherwise, exit with status 1.++Available options:+  --registry URI           File where registry file is stored. E.g.,+                           file:\/\/\/var\/db\/migrations+  -h,--help                Show this help text+@++++Subcommand @show-registry@:++@+Usage: moto-example show-registry --registry URI+  Show migrations registry.++Available options:+  --registry URI           File where registry file is stored. E.g.,+                           file:\/\/\/var\/db\/migrations+  -h,--help                Show this help text+@++++Subcommand @clean-registry@:++@+Usage: moto-example clean-registry --registry URI [--dry-run]+  Clean a dirty migrations registry.++Available options:+  --registry URI           File where registry file is stored. E.g.,+                           file:\/\/\/var\/db\/migrations+  --dry-run                Don't clean registry, just show whether it is clean+                           and exit immediately with status 0 if so, otherwise+                           exit with status 1.+  -h,--help                Show this help text+@++++Subcommand @delete-recovery-data@:++@+Usage: moto-example delete-recovery-data --mig ARG+  Delete contents from the migrations data store.++Available options:+  -h,--help                Show this help text+@+-}
moto.cabal view
@@ -1,8 +1,9 @@ name: moto-version: 0.0.1+version: 0.0.2 synopsis: General purpose migrations library license: Apache-2.0 license-file: LICENSE.txt+extra-source-files: README.md CHANGELOG.md lib/moto/cli_help.docs author: Renzo Carbonara maintainer: ren@ren!zone category: Database