#!/usr/bin/env node // operation-cli.mjs: the command line of AERE Device Operation. The device identity (keys, manufacture credential, status records) is made // with ../aere-device-identity/device-cli.mjs; this tool writes and judges the operation log. // // start --manufacture manufacture.json --out log.json a new log, rooted in the credential of the first key // record --device device.key.json --log log.json --state S --counter N [--measurement-file f | --measurement 0x..] // [--after ::] [--at