Files
order-query/README.md
2026-04-08 17:48:31 +08:00

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

  1. Run the tool — it will create a config file at ~/.order-query/config.toml.
  2. Edit the config with your Azure Storage connection string:
connection_string = "DefaultEndpointsProtocol=https;AccountName=...;AccountKey=...;TableEndpoint=https://..."
table_name = "order"
  1. 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
  • q to quit