#!/usr/bin/env bash# Updates README.md using the crate-level documentation in `lib.rs`set-emain(){# Rewind back to crate rootwhile! stat Cargo.toml > /dev/null;docd ..doneecho-e"# brace-expander\n"> README.mdsed -n's/^\/\/!//gp' src/lib.rs|sed's/^ //g'>> README.md}main