README.md 417 B

$ podman build --format docker -t toit .
# host network for redirect back after login at
# https://auth.toit.io/oauth/authorize?[...]?redirect_uri=http://localhost/[...]
$ podman run --rm -it -v toit_home:/home/toit \
    --network host toit \
    toit device info
$ podman run --rm -it -v toit_home:/home/toit \
    --device /dev/ttyUSB0:/dev/ttyUSB0 --group-add keep-groups toit \
    toit serial monitor