mirror of
https://github.com/sbrow/nu-ffmpeg.git
synced 2025-12-29 16:23:11 -05:00
docs: Improved README.md.
This commit is contained in:
15
get_ffprobe_commands_table
Executable file
15
get_ffprobe_commands_table
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user