-
-
Notifications
You must be signed in to change notification settings - Fork 5
2 ‐ Use the CLI
It is quite simple to use the tool in CLI (Command Line Interface).
When you have filled your spreasheets, you should export them in CSV files (supporting UT8). They should have the same names and positions in the file trees, see the constants of the main Shell script.
Once you have yout CSV files updated, run the update command:
bash tipsntools.sh --update
It will generated HTML chunks for the web page, and JSON files for the Ruby servlet. A metadata file is used also to compute only the files if the sources have been modified.
If you want to look in your files for some data, use the following command:
bash tipsntools.sh {--findAll | --findWeb | --findDevices | --findTools | --findSocs} yourRegex [--json]
It will make searches in one of the four corpora of data (or in all), according to a regular expression, and export in JSON or CSV format in standard output.
Feel free to run the help command to as to get the available features (compute metrics, compute checksums, ...).
bash tipsntools.sh --help