@adviser/ovn-fabric 0.1.3 → 0.1.4
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 +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,13 @@ a disposable, regeneratable artifact.
|
|
|
17
17
|
|
|
18
18
|
**Via npx** (no local Deno install required — the official
|
|
19
19
|
[`deno`](https://www.npmjs.com/package/deno) npm package is pulled in
|
|
20
|
-
automatically as a dependency the first time you run this
|
|
21
|
-
|
|
20
|
+
automatically as a dependency the first time you run this). Use the explicit
|
|
21
|
+
`-p`/package form — npx's implicit "guess the command from the package name"
|
|
22
|
+
doesn't reliably resolve a scoped package name (`@adviser/ovn-fabric`)
|
|
23
|
+
against its differently-named bin (`ovn-fabric`):
|
|
22
24
|
|
|
23
25
|
```sh
|
|
24
|
-
npx @adviser/ovn-fabric generate-ovn path/to/topology.ts > install.sh
|
|
26
|
+
npx -p @adviser/ovn-fabric ovn-fabric generate-ovn path/to/topology.ts > install.sh
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
**Via Deno**, if you already have it (the CLI is the `/cli` export — the bare
|
|
@@ -76,8 +78,8 @@ export const network = defineNetwork("minimal", (net) => {
|
|
|
76
78
|
Then:
|
|
77
79
|
|
|
78
80
|
```sh
|
|
79
|
-
npx @adviser/ovn-fabric generate topology.ts # sanity-check what it declares
|
|
80
|
-
npx @adviser/ovn-fabric generate-ovn topology.ts # emit the install script(s)
|
|
81
|
+
npx -p @adviser/ovn-fabric ovn-fabric generate topology.ts # sanity-check what it declares
|
|
82
|
+
npx -p @adviser/ovn-fabric ovn-fabric generate-ovn topology.ts # emit the install script(s)
|
|
81
83
|
```
|
|
82
84
|
|
|
83
85
|
`generate-ovn` prints one script per distinct `Host` your config declares.
|
package/package.json
CHANGED