OPTIONS

Control YTSearch CLI with global flags.

Reference the limit, sort, mode, JSON, and watch options supported by the v1.2.3 command-line interface.

-l --limit <number>
Limit number of results. Default: 10
-s --sort <type>
Sort search results. Default: relevance. Values: relevance, upload_date, view_count, rating
-m --mode <type>
Display mode for formatted output. Default: default. Values: default, compact, online, detailed
-j --json
Output raw JSON instead of formatted display. Default: false
-w --watch
Start interactive watch mode. Default: false

Interactive search has an additional json choice in its mode selector; normal --mode accepts default, compact, online, and detailed.