@boohee101/bh-cli
v0.2.4
Published
The official CLI for Boohee open platform
Downloads
50
Readme
@boohee101/bh-cli
bh-cli is a command-line tool for Boohee Open Platform.
It currently supports:
- OAuth device-flow login
- Weight record query
- Weight record creation
Install
npm install -g @boohee101/bh-cliAfter installation, run:
bh-cli --helpQuick Start
Login
bh-cli auth loginIf you need weight APIs, authorize with scopes explicitly:
bh-cli auth login --scope "user.read weight.read weight.write"Check Auth Status
bh-cli auth statusGet Latest Weight
bh-cli weight latest
bh-cli weight latest --format prettyList Weights
bh-cli weight list
bh-cli weight list --page 1 --page-size 50Create a Weight Record
bh-cli weight create \
--weight 68.5 \
--measure-time "2026-04-15 08:30:00"Notes
weight latestandweight listrequireweight.readweight createrequiresweight.write--measure-timeformat must be2006-01-02 15:04:05
Repository
Source code and full project documentation:
