Documentation fixes & improvements

This commit is contained in:
Juan Ferrer 2022-05-01 10:26:25 +02:00
parent 216945ef0b
commit b38faa7652
2 changed files with 8 additions and 6 deletions

View File

@ -8,9 +8,8 @@ development, so any help is welcomed! Feel free to contribute.
## Requirements ## Requirements
* Node.js >= 14.0
* Git * Git
* Docker (Local server) * Docker (Optional, used to manage local server)
## Installation ## Installation
@ -33,7 +32,8 @@ $ npx myvc <command>
Execute *myvc* with the desired command. Execute *myvc* with the desired command.
```text ```text
$ [npx] myvc [-w|--workspace <string>] [-r|--remote <string>] [-d|--debug] [-h|--help] <command> [<args>] $ [npx] myvc [-w|--workspace <string>] [-r|--remote <string>] [-d|--debug]
[-h|--help] <command> [<args>]
``` ```
The default workspace directory is the current working directory and unless The default workspace directory is the current working directory and unless
@ -95,7 +95,7 @@ From now on, you can use the project as if it were a standard git repository
desired remote. desired remote.
```text ```text
$ myvc push [<remote>] [--save-commit] $ myvc push [<remote>] [--commit]
``` ```
### Routines ### Routines
@ -148,7 +148,6 @@ You can create your local fixture and structure files.
* *dump/structure.sql* * *dump/structure.sql*
* *dump/fixtures.sql* * *dump/fixtures.sql*
## Versioning commands ## Versioning commands
### init ### init
@ -194,6 +193,9 @@ name mixing a color with a plant name.
$ myvc version [<name>] [-o|--hold] $ myvc version [<name>] [-o|--hold]
``` ```
By default it also cleans all already applied versions older than
*maxOldVersions*, you can provide de *--hold* option to prevent this behavior.
## Local server commands ## Local server commands
### dump ### dump

View File

@ -1,6 +1,6 @@
{ {
"name": "myvc", "name": "myvc",
"version": "1.4.2", "version": "1.4.3",
"author": "Verdnatura Levante SL", "author": "Verdnatura Levante SL",
"description": "MySQL Version Control", "description": "MySQL Version Control",
"license": "GPL-3.0", "license": "GPL-3.0",