@riavzon/shield-base 1.3.2 → 1.3.3
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,10 +100,10 @@ npm install @riavzon/shield-base
|
|
|
100
100
|
npm link
|
|
101
101
|
|
|
102
102
|
# Or
|
|
103
|
-
npx shield-base <args>
|
|
103
|
+
npx @riavzon/shield-base <args>
|
|
104
104
|
|
|
105
105
|
# Or to start the wizard
|
|
106
|
-
npx shield-base
|
|
106
|
+
npx @riavzon/shield-base
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
|
|
@@ -119,7 +119,7 @@ Simply run the command without arguments to start the wizard:
|
|
|
119
119
|
shield-base
|
|
120
120
|
|
|
121
121
|
# Or
|
|
122
|
-
npx shield-base
|
|
122
|
+
npx @riavzon/shield-base
|
|
123
123
|
```
|
|
124
124
|
### Programmatic
|
|
125
125
|
|
|
@@ -150,7 +150,7 @@ const ids = [
|
|
|
150
150
|
"firehol_l4"
|
|
151
151
|
]
|
|
152
152
|
|
|
153
|
-
const selectedSources = true
|
|
153
|
+
const selectedSources = true; // or use ids array.
|
|
154
154
|
|
|
155
155
|
const results = await Promise.allSettled([
|
|
156
156
|
getBGPAndASN(contactInfo, outputDirectory, mmdbPath),
|
|
@@ -163,7 +163,7 @@ const results = await Promise.allSettled([
|
|
|
163
163
|
]);
|
|
164
164
|
const restartAllData = true;
|
|
165
165
|
|
|
166
|
-
const restart = restartData(outputDirectory, restartAllData)
|
|
166
|
+
const restart = await restartData(outputDirectory, restartAllData)
|
|
167
167
|
|
|
168
168
|
// A utility to run shell commands
|
|
169
169
|
await run('ls')
|