mirror of
https://github.com/sbrow/nu-ffmpeg.git
synced 2025-12-29 16:23:11 -05:00
16 lines
355 B
Nu
Executable File
16 lines
355 B
Nu
Executable File
#!/usr/bin/env -S nu -n
|
|
# vim: filetype=nu :
|
|
|
|
use ffprobe;
|
|
|
|
def main [] {
|
|
(
|
|
help commands
|
|
| where command_type == "custom" and name !~ "p(rompt|wd)"
|
|
| select name usage
|
|
| update name { if $in == 'main' { 'ffprobe' } else { $'ffprobe ($in)' } }
|
|
| filter { not ($in.name == 'ffprobe' and ($in.usage | is-empty)) }
|
|
| to md -p
|
|
)
|
|
}
|