Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.
/ underbase-cli Public archive

[DEPRECATED] CLI app for Underbase, a MongoDB schema and data migration library.

Notifications You must be signed in to change notification settings

sundowndev/underbase-cli

Repository files navigation

DEPRECATED: see underbase instead

underbase-cli

build status release dependencies

MongoDB migrations done right. Abstract framework and CLI app for writing, executing, and organizing your database migrations.

Look at underbase for programmatic usage.

Installation

This package can be installed through yarn or npm. Type:

$ npm i underbase-cli

# or ...

$ yarn add underbase-cli

Usage

CLI commands :

$ underbase-cli --help

Usage: underbase-cli <command> [OPTIONS]

Commands:
  underbase-cli migrate <migration>  Execute migrations
  underbase-cli list                 Show all migrations versions
  underbase-cli status               Show migrations status

Options:
  --version                 Show underbase-cli package version         [boolean]
  --db <url>                MongoDB connection URL
  --migrations-dir <dir>    Migrations versions directory
  --backup                  Enable automatic backups
  --backups-dir <dir>       Backups directory
  --collection-name <name>  Migrations state collection
  --logs                    Enable logs
  --rerun                   Force migrations execution
  --chdir <dir>             Change the working directory
  -h, --help                Show this help message                     [boolean]

See documentation.

About

[DEPRECATED] CLI app for Underbase, a MongoDB schema and data migration library.

Resources

Stars

Watchers

Forks

Packages

No packages published