mba-cli v0.3.2 reads a tenant's data from the terminal and prints JSON. It hits the same endpoints as the API reference.
curl -fsSL https://mppreleasesymdz2uyxyd7aq.blob.core.windows.net/mba-cli/install.sh | shCreate an API key in Settings → API keys. See Authentication for details.
# interactive — stores the key in the OS keychain
mba-cli connector auth
# verify
mba-cli tenant lsEvery option has an environment-variable fallback, so scripts and CI need no flags.
# CI / agents — configure with environment variables instead
export MBA_API_KEY=mba_... # tenant API key (required)
export MBA_API_BASE_URL=... # default: the production gateway
export MBA_APIM_SUBSCRIPTION_KEY=4fb0f9a3b14a44e98698e80cef2aebeb # public; this is the defaultRead bookings (key-scoped)
mba-cli booking getGet one booking by idGET/bookings/{id}mba-cli booking lsList bookingsGET/bookingsmba-cli booking searchText-search bookingsGET/bookings/searchRead customers (key-scoped)
mba-cli customer getGet one customer by idGET/customers/{id}mba-cli customer lsList customers (default: page 1, 20 per page)GET/customersmba-cli customer searchText-search customersGET/customers/searchRead employees (key-scoped)
mba-cli employee getGet one employee by idGET/employees/{id}mba-cli employee get-by-uidGet one employee by auth uidGET/employees/uid/{uid}mba-cli employee lsList employeesGET/employeesRead invoices
mba-cli invoice account-invoicesList invoices for one billing accountGET/billing/accounts/{id}/invoicesmba-cli invoice getGet one invoice by idGET/billing/invoices/{invoiceId}mba-cli invoice get-by-numberGet one invoice by invoice numberGET/billing/invoices/number/{invoiceNumber}mba-cli invoice lsList invoices across billing accountsGET/billing/invoicesRead pets (key-scoped)
mba-cli pet getGet one pet by idGET/pets/{id}mba-cli pet lsList petsGET/pets--page / --limit, or --all to fetch every row.mba-cli --help # all commands
mba-cli customer --help # one group