@verdnatura/myt 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/docker.js +4 -0
- package/myt-build.js +2 -1
- package/myt-run.js +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ running the command along with the _--help_ parameter, only the most commonly
|
|
|
67
67
|
used ones are documented here.
|
|
68
68
|
|
|
69
69
|
```text
|
|
70
|
-
$ myt <command> [
|
|
70
|
+
$ myt <command> [-h|--help]
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### Usage as library
|
|
@@ -282,7 +282,7 @@ $ myt create [<args>] [-t <type>] <schema>.<name>
|
|
|
282
282
|
Cleans all already applied versions older than *maxOldVersions*.
|
|
283
283
|
|
|
284
284
|
```text
|
|
285
|
-
$ myt clean [-p|--purge]
|
|
285
|
+
$ myt clean [<args>] [-p|--purge]
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
## Local server commands
|
package/lib/docker.js
CHANGED
|
@@ -61,6 +61,10 @@ const docker = {
|
|
|
61
61
|
return JSON.parse(child.stdout || null);
|
|
62
62
|
},
|
|
63
63
|
|
|
64
|
+
async tag(source, target) {
|
|
65
|
+
await docker.command('tag', [source, target]);
|
|
66
|
+
},
|
|
67
|
+
|
|
64
68
|
async command(command, args, options, execMode, execOptions, debug) {
|
|
65
69
|
const execArgs = [command];
|
|
66
70
|
|
package/myt-build.js
CHANGED
package/myt-run.js
CHANGED