@travetto/cli 5.0.0-rc.9 → 5.0.1
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/package.json +3 -3
package/README.md
CHANGED
|
@@ -377,7 +377,7 @@ npx trv call:db +=base --password <custom>
|
|
|
377
377
|
```
|
|
378
378
|
|
|
379
379
|
The flag files can be included in one of a few ways:
|
|
380
|
-
* `+=<name>` - This translates into
|
|
380
|
+
* `+=<name>` - This translates into `<mod>/support/<name>.flags`, which is a convenient shorthand.
|
|
381
381
|
* `+=<mod>/path/file.flags` - This is a path-related file that will be resolved from the module's location.
|
|
382
382
|
* `+=/path/file.flags` - This is an absolute path that will be read from the root of the file system.
|
|
383
383
|
Ultimately, after resolution, the content of these files will be injected inline within the location.
|
|
@@ -500,7 +500,7 @@ export class RunRestCommand implements CliCommandShape {
|
|
|
500
500
|
}
|
|
501
501
|
```
|
|
502
502
|
|
|
503
|
-
As noted in the example above, `fields` is specified in this execution, with support for `module`, and `env`. These env flag is directly tied to the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime/src/env.ts#L109) `name` defined in the [
|
|
503
|
+
As noted in the example above, `fields` is specified in this execution, with support for `module`, and `env`. These env flag is directly tied to the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime/src/env.ts#L109) `name` defined in the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime#readme "Runtime for travetto applications.") module.
|
|
504
504
|
|
|
505
505
|
The `module` field is slightly more complex, but is geared towards supporting commands within a monorepo context. This flag ensures that a module is specified if running from the root of the monorepo, and that the module provided is real, and can run the desired command. When running from an explicit module folder in the monorepo, the module flag is ignored.
|
|
506
506
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "CLI infrastructure for Travetto framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"directory": "module/cli"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@travetto/schema": "^5.0.
|
|
33
|
-
"@travetto/terminal": "^5.0.
|
|
32
|
+
"@travetto/schema": "^5.0.1",
|
|
33
|
+
"@travetto/terminal": "^5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"travetto": {
|
|
36
36
|
"displayName": "Command Line Interface",
|