You've already forked uutils.github.io
mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-06-10 16:12:28 -07:00
Merge pull request #51 from xtqqczze/patch-1
Hide `true` and `false` from the playground command list
This commit is contained in:
@@ -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, -)
|
||||
|
||||
Reference in New Issue
Block a user