logcli is a command-line interface (CLI) tool for managing flight log data. It provides an easy way to upload, retrieve, and manage flight logs through a simple command-line interface.
- User Authentication: Login and logout functionality.
- Log Uploading: Upload flight log files with optional metadata.
- Log Management: View and download flight logs.
You can install logcli from PyPI using pip:
pip install logcliAuthenticate a user into the system.
logcli login <email> <password>Sign out the current user.
logcli logoutUpload a flight log file to the system with optional metadata.
logcli upload <file_path> [--metadata <metadata>]Retrieve and display all flight logs associated with the user.
logcli logsDisplay detailed information about a specific flight log.
logcli view-log <log_id>Download a specific flight log file to a designated location.
logcli download-log <log_id> <output_path># Login
logcli login user@example.com password123
# Upload a flight log
logcli upload flight1.bin --metadata "Test Flight"
# List all logs
logcli logs
# View a specific log
logcli view-log 12345
# Download a log
logcli download-log 12345 ./downloads/
# Logout
logcli logoutFor testing, you can use the following sample binary flight log file: Download Sample Flight Log
Feel free to contribute! Fork the repository, make changes, and submit a pull request.