2017 © Pedro Peláez
 

library codepax-cli

image

zitec/codepax-cli

  • Wednesday, November 23, 2016
  • by marius-balteanu
  • Repository
  • 2 Watchers
  • 0 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CodePaxCLI

CodePaxCLI is a command line interface (just for database versioning) of CodePax@Zitec., (*1)

Installation

Clone this repository into your project root directory:, (*2)

$ git clone https://github.com/IulianCristianGrigoritaZitec/CodePaxCLI.git

Change directory to the repository you've just cloned and install all dependencies using Composer:, (*3)

$ cd CodePaxCLI
$ composer install

Now you just need to add your settings into app/config/config.ini. You can copy and rename config.sample.ini to config.ini and change that file., (*4)

Commands

You can see all the commands available, from root directory of CodePaxCLI, by running app/console. You should change the permissions of the file so the it ca be executed., (*5)

dbv:info

Usage:, (*6)

$ app/console dbv:info

Shows all the informations about database versioning (versions, updates, change scripts, etc.)., (*7)

dbv:install

Usage:, (*8)

$ app/console dbv:install

Creates the table that holds database versioning data inside the project's database., (*9)

dbv:newbaseline

Usage:, (*10)

$ app/console dbv:newbaseline

Creates a new baseline from current database state., (*11)

dbv:run

Usage:, (*12)

$ app/console dbv:run

or

$ app/console dbv:run --preserve-test-data

Runs change scripts., (*13)

The Versions

23/11 2016

dev-master

9999999-dev

  Sources   Download

BSD

The Requires

 

23/11 2016

dev-display-results-run-command

dev-display-results-run-command

  Sources   Download

BSD

The Requires

 

29/09 2016

0.0.1

0.0.1.0

  Sources   Download

BSD

The Requires