# Full build with all accessnono run --allow . -- cargo build# Read source, write only to targetnono run --read ./src --read ./Cargo.toml --read ./Cargo.lock --allow ./target -- cargo build
# Install dependencies (requires network, allowed by default)nono run --allow . -- npm install# Run build (offline)nono run --allow . --net-block -- npm run build# Run testsnono run --allow . -- npm test
# Download a file (network allowed by default)nono run --write ./downloads -- curl -o ./downloads/file.tar.gz https://example.com/file.tar.gz# API requestnono run --allow . -- curl -X POST https://api.example.com/data
# Should succeed - writing to allowed pathnono run --allow . -- sh -c "echo test > ./allowed.txt"# Should fail - writing outside allowed pathnono run --allow . -- sh -c "echo test > /tmp/blocked.txt"# Should succeed - network allowed by defaultnono run --allow . -- curl https://example.com# Should fail - network blocked with --net-blocknono run --allow . --net-block -- curl https://example.com