925 B
925 B
Order Query
A terminal TUI tool for querying order details from Azure Table Storage by userId.
Features
- Search orders by userId against Azure Table Storage
- Browse results in a sortable table view
- View full order details (product info, revenue, timestamps, custom data)
- Persistent configuration via
~/.order-query/config.toml
Install
Requires Python >= 3.11.
uv pip install .
Or with pip:
pip install .
Setup
- Run the tool — it will create a config file at
~/.order-query/config.toml. - Edit the config with your Azure Storage connection string:
connection_string = "DefaultEndpointsProtocol=https;AccountName=...;AccountKey=...;TableEndpoint=https://..."
table_name = "order"
- Run again and enter a userId to query.
Usage
order-query
- Enter a userId to search
- Arrow keys to browse results, Enter to view details
qto quit