pull/68/head
Konstantin Gründger 2017-06-23 08:16:45 +02:00
rodzic a9bdd8176a
commit cec384ddd8
1 zmienionych plików z 17 dodań i 10 usunięć

Wyświetl plik

@ -82,7 +82,7 @@ export OGN_CONFIG_MODULE="myconfig"
### manage.py - CLI options ### manage.py - CLI options
``` ```
usage: manage.py [<namespace>.]<command> [<args>] usage: manage [<namespace>.]<command> [<args>]
positional arguments: positional arguments:
command the command to run command the command to run
@ -91,38 +91,45 @@ optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
available commands: available commands:
[bulkimport]
convert_logfile Convert ogn logfiles to csv logfiles (one for aircraft beacons and one for receiver beacons) <arg: path>. Logfile name: blablabla.txt_YYYY-MM-DD.
create_indices Create indices for AircraftBeacon.
drop_indices Drop indices of AircraftBeacon.
import_csv_logfile Import csv logfile <arg: csv logfile>.
[db] [db]
drop Drop all tables. drop Drop all tables.
import_airports Import airports from a ".cup" file import_airports Import airports from a ".cup" file
import_csv_logfile Import csv logfile <arg: csv logfile>.
import_ddb Import registered devices from the DDB. import_ddb Import registered devices from the DDB.
import_file Import registered devices from a local file. import_file Import registered devices from a local file.
init Initialize the database. init Initialize the database.
update_relations Update AircraftBeacon and ReceiverBeacon relations update_relations Update AircraftBeacon and ReceiverBeacon relations
upgrade Upgrade database to the latest version. upgrade Upgrade database to the latest version.
[gateway] [gateway]
convert_logfile Convert ogn logfiles to csv logfiles (one for aircraft beacons and one for receiver beacons) <arg: path>. Logfile name: blablabla.txt_YYYY-MM-DD.
run Run the aprs client. run Run the aprs client.
[igcexport]
write Export igc file for <address> at <date>.
[logbook] [logbook]
compute_logbook Compute logbook. compute_logbook Compute logbook.
compute_takeoff_landingCompute takeoffs and landings. compute_takeoff_landingCompute takeoffs and landings.
show Show a logbook for <airport_name>. show Show a logbook for <airport_name>.
[show.airport] [show.airport]
list_all Show a list of all airports. list_all Show a list of all airports.
[show.deviceinfos] [show.deviceinfos]
stats Show some stats on registered devices. stats Show some stats on registered devices.
[show.devices] [show.devices]
aircraft_type_stats Show stats about aircraft types used by devices. aircraft_type_stats Show stats about aircraft types used by devices.
hardware_stats Show stats about hardware version used by devices. hardware_stats Show stats about hardware version used by devices.
software_stats Show stats about software version used by devices. software_stats Show stats about software version used by devices.
stealth_stats Show stats about stealth flag set by devices. stealth_stats Show stats about stealth flag set by devices.
[show.receiver] [show.receiver]
hardware_stats Show some statistics of receiver hardware. hardware_stats Show some statistics of receiver hardware.
list_all Show a list of all receivers. list_all Show a list of all receivers.