Merge pull request #51 from xtqqczze/patch-1

Hide `true` and `false` from the playground command list
This commit is contained in:
Sylvestre Ledru
2026-05-29 11:23:45 +02:00
committed by GitHub
+1 -1
View File
@@ -143,7 +143,7 @@ jobs:
# HIDDEN_CMDS: utilities that ship in the binary but we don't want to
# advertise in the playground (e.g. `yes` produces infinite output
# that just spams the terminal).
HIDDEN_CMDS='^(yes)$'
HIDDEN_CMDS='^(false|true|yes)$'
commands=$(sed -n '/^feat_wasm = \[/,/^\]/p' Cargo.toml \
| grep -oE '"[a-zA-Z0-9_]+"' | tr -d '"' \
| sort -u | grep -vE "$HIDDEN_CMDS" | paste -sd, -)