CLI Reference
pyflysight
Usage:
pyflysight [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Subcommands
- device: FlySight device utilities.
- log_convert: FlySight V2 log conversion.
- logs: FlySight device log utilities.
- trim: FlySight log trimming.
device
FlySight device utilities.
Usage:
pyflysight device [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Subcommands
- config: Device configuration utilities.
- list: List connected FlySight devices.
config
Device configuration utilities.
Usage:
pyflysight device config [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Subcommands
- write-default: Write default configuration.
- write-from-json: Write previously serialized paramters.
- write-from-other: Copy configuration from file.
write-default
Write default configuration.
Warning: This action is destructive. All existing configuration information & formatting will be permanently lost.
Usage:
pyflysight device config write-default [OPTIONS]
Options:
--flysight-root DIRECTORY
--backup-existing / --no-backup-existing
[default: backup-existing]
--help Show this message and exit.
write-from-json
Write previously serialized paramters.
Warning: This action is destructive. All existing configuration information & formatting will be permanently lost.
Usage:
pyflysight device config write-from-json [OPTIONS]
Options:
--flysight-root DIRECTORY
--config-source FILE
--backup-existing / --no-backup-existing
[default: backup-existing]
--help Show this message and exit.
write-from-other
Copy configuration from file.
Warning: This action is destructive. All existing configuration information & formatting will be permanently lost.
Usage:
pyflysight device config write-from-other [OPTIONS]
Options:
--flysight-root DIRECTORY
--config-source FILE
--backup-existing / --no-backup-existing
[default: backup-existing]
--help Show this message and exit.
list
List connected FlySight devices.
If wait_for
is > 0, the OS will be polled for up to wait_for
seconds for at least one
FlySight device to be connected.
Usage:
pyflysight device list [OPTIONS]
Options:
--wait-for INTEGER RANGE [default: 0; x>=0]
--help Show this message and exit.
log_convert
FlySight V2 log conversion.
Usage:
pyflysight log_convert [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Subcommands
- batch: Batch parse a directory of FlySight V2 flight logs into a user-friendly CSV collection.
- single: Parse a single FlySight V2 flight log into a user-friendly CSV collection.
batch
Batch parse a directory of FlySight V2 flight logs into a user-friendly CSV collection.
See the documentation for pyflysight.flysight_proc.FlysightV2FlightLog.to_csv
for a
description of the output behavior.
Usage:
pyflysight log_convert batch [OPTIONS]
Options:
--log-dir DIRECTORY
--normalize-gps / --no-normalize-gps
[default: no-normalize-gps]
--help Show this message and exit.
single
Parse a single FlySight V2 flight log into a user-friendly CSV collection.
See the documentation for pyflysight.flysight_proc.FlysightV2FlightLog.to_csv
for a
description of the output behavior.
Usage:
pyflysight log_convert single [OPTIONS]
Options:
--log-dir DIRECTORY
--normalize-gps / --no-normalize-gps
[default: no-normalize-gps]
--help Show this message and exit.
logs
FlySight device log utilities.
Usage:
pyflysight logs [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Subcommands
- clear: Clear all logs on device.
- copy: Copy all logs on device to the specified destination.
clear
Clear all logs on device.
Warning: This action is destructive. All logs on the device will be permanently deleted and cannot be recovered.
Usage:
pyflysight logs clear [OPTIONS]
Options:
--flysight-root DIRECTORY
--force / --no-force [default: no-force]
--help Show this message and exit.
copy
Copy all logs on device to the specified destination.
Usage:
pyflysight logs copy [OPTIONS]
Options:
--flysight-root DIRECTORY
--dest DIRECTORY
--exist-ok / --no-exist-ok [default: exist-ok]
--help Show this message and exit.
trim
FlySight log trimming.
Usage:
pyflysight trim [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Subcommands
- batch: Batch trim a directory of flight logs.
- single: Trim single flight log.
batch
Batch trim a directory of flight logs.
Note: Log trimming is currently only implemented for FlySight V2 hardware.
Usage:
pyflysight trim batch [OPTIONS]
Options:
--log-dir DIRECTORY
--normalize-gps / --no-normalize-gps
[default: no-normalize-gps]
--help Show this message and exit.
single
Trim single flight log.
Note: Log trimming is currently only implemented for FlySight V2 hardware.
Usage:
pyflysight trim single [OPTIONS]
Options:
--log-dir DIRECTORY
--normalize-gps / --no-normalize-gps
[default: no-normalize-gps]
--help Show this message and exit.