@verdnatura/myt 2.0.4 → 2.0.6
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/myt-run.js +2 -4
- 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/myt-run.js
CHANGED
|
@@ -75,9 +75,7 @@ class Run extends Command {
|
|
|
75
75
|
realm: opts.realm
|
|
76
76
|
});
|
|
77
77
|
} else {
|
|
78
|
-
|
|
79
|
-
throw new Error('Build ommitted but no image passed');
|
|
80
|
-
tag = opts.name;
|
|
78
|
+
tag = opts.name || cfg.code;
|
|
81
79
|
if (opts.tag) tag += `:${opts.tag}`;
|
|
82
80
|
}
|
|
83
81
|
|
|
@@ -133,7 +131,7 @@ class Run extends Command {
|
|
|
133
131
|
: localhost;
|
|
134
132
|
} else {
|
|
135
133
|
host = netSettings.IPAddress
|
|
136
|
-
|
|
134
|
+
|| ctNetworks.bridge?.IPAddress;
|
|
137
135
|
}
|
|
138
136
|
port = 3306;
|
|
139
137
|
} else {
|