Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (25 sloc) 1.08 KB

Examples

All of these example assume you have installed archmap via pacman or pip, if you would like to use the script directly, just use ./archmap.py.

Help

The --help flag will output a help message with all of the available options:

archmap --help

Basic use

By default, running archmap will output three files to /tmp, archmap_users.txt, archmap.geojson and archmap.kml, this can be overridden by either using the config file or by the following command line switches.

Using the --verbose flag will print information on what the script is doing:

archmap --verbose

You can specify the output location for the GeoJSON, KML and CSV:

archmap --geojson /tmp/archmap.geojson --kml /tmp/archmap.kml --csv /tmp/archmap.csv

Logging

If the script is run on a system that uses systemd, it will log to it using the syslog identifier - "archmap".

You can review all logs generated by archmap by using:

journalctl SYSLOG_IDENTIFIER=archmap