You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If using SSH keys, specify `key_filename` instead of `password`.
91
110
- The remote user must have permissions to run the requested plugins and access required files. If needed, use the `--skip-sudo` argument to skip plugins requiring sudo.
92
111
93
-
### Subcommmands
112
+
### Subcommands
94
113
95
114
Plugins to run can be specified in two ways, using a plugin JSON config file or using the
96
115
'run-plugins' sub command. These two options are not mutually exclusive and can be used together.
97
116
98
117
99
-
1.**'describe' subcommand**
118
+
#### **'describe' subcommand**
100
119
101
120
You can use the `describe` subcommand to display details about built-in configs or plugins.
102
121
List all built-in configs:
@@ -119,7 +138,7 @@ Show details for a specific plugin
119
138
node-scraper describe plugin <plugin-name>
120
139
```
121
140
122
-
2.**'run-plugins' sub command**
141
+
#### **'run-plugins' sub command**
123
142
The plugins to run and their associated arguments can also be specified directly on the CLI using
124
143
the 'run-plugins' sub-command. Using this sub-command you can specify a plugin name followed by
125
144
the arguments for that particular plugin. Multiple plugins can be specified at once.
@@ -165,7 +184,7 @@ Use plugin configs and 'run-plugins'
165
184
node-scraper run-plugins BiosPlugin
166
185
```
167
186
168
-
3.**'gen-plugin-config' sub command**
187
+
#### **'gen-plugin-config' sub command**
169
188
The 'gen-plugin-config' sub command can be used to generate a plugin config JSON file for a plugin
170
189
or list of plugins that can then be customized. Plugin arguments which have default values will be
171
190
prepopulated in the JSON file, arguments without default values will have a value of 'null'.
@@ -200,7 +219,7 @@ This would produce the following config:
200
219
}
201
220
```
202
221
203
-
4.**'summary' sub command**
222
+
#### **'summary' sub command**
204
223
The 'summary' subcommand can be used to combine results from multiple runs of node-scraper to a
205
224
single summary.csv file. Sample run:
206
225
```sh
@@ -210,7 +229,7 @@ This will generate a new file '/<path_to_node-scraper_logs>/summary.csv' file. T
210
229
contain the results from all 'nodescraper.csv' files from '/<path_to_node-scarper_logs>'.
211
230
212
231
213
-
### Plugin Configs
232
+
### Configs
214
233
A plugin JSON config should follow the structure of the plugin config model defined here.
215
234
The globals field is a dictionary of global key-value pairs; values in globals will be passed to
216
235
any plugin that supports the corresponding key. The plugins field should be a dictionary mapping
@@ -237,7 +256,21 @@ tabular format to the console.
237
256
}
238
257
```
239
258
240
-
1. **'--plugin-configs' command**
259
+
#### Global args
260
+
Global args can be used to skip sudo plugins or enable/disble either collection or analysis.
261
+
Below is an example that skips sudo requiring plugins and disables analysis.
0 commit comments