CLI testing in Markdown and Cram files (port of facebookincubator/scrut), the engine for `moon cram`
Dependencies
# Greeting
```scrut
$ my-tool greet "World"
Hello, World!
```
```scrut {environment: {LANG: "de"}}
$ my-tool greet --from "$TESTDIR/names.txt"
Hallo, * (glob+)
[1]
```moon build --target native --release
_build/native/release/build/cmd/scrut/scrut.exe test tests/moonx scripts/selftest.mbtx # build, then run tests/*.md with scrut
moonx scripts/selftest.mbtx --wasm # the wasm build (moonrun), on some documents
moonx scripts/argv_oracle.mbtx > argv/oracle_cases_test.mbt
moon build --target native --release && moon build --target wasm --release
moonx scripts/cli_oracle.mbtx --count 150 [--seed N] [--keep] [--wasm]Install
Download zipCLI testing in Markdown and Cram files (port of facebookincubator/scrut), the engine for `moon cram`
Dependencies