CLI-Meta-YoutubeDl

 view release on metacpan or  search on metacpan

lib/CLI/Meta/YoutubeDl.pm  view on Meta::CPAN

    require Complete::File;
    my %args = @_;
    Complete::File::complete_file(word=>$args{word});
};

our $META = {
    opts => {
        # General Options:
        'help|h' => undef,
        'version' => undef,
        'update|U' => undef,
        'ignore-errors|i' => undef,
        'abort-on-error' => undef,
        'dump-user-agent' => undef,
        'list-extractors' => undef,
        'extractor-descriptions' => undef,
        'force-generic-extractor' => undef,
        'default-search=s' => {completion=>["gvsearch2:", "auto", "auto_warning", "error", "fixup_error"]},
        'ignore-config' => undef,
        'config-location=s' => {completion => $comp_file},
        'flat-playlist' => undef,
        'mark-watched!' => undef,
        'no-color' => undef,

        # Network Options:
        'proxy=s' => undef,
        'socket-timeout=i' => undef,
        'source-address=s' => undef,
        'force-ipv4|4' => undef,
        'force-ipv6|6' => undef,
        'geo-verification-proxy=s' => undef,
        'geo-bypass' => undef,
        'no-geo-bypass' => undef,
        'geo-bypass-country=s' => {completion=>$comp_country_code},
        'geo-bypass-ip-block=s' => undef,

        # Video Selection:
        'playlist-start=i' => undef,
        'playlist-end=i' => undef,
        'playlist-items=s' => undef, # e.g. 1,2,3,10-13
        'match-title=s' => undef, # regex or substr
        'reject-title=s' => undef, # regex or substr
        'max-downloads=i' => undef,
        'min-filesize=s' => undef, # number or number with prefix
        'max-filesize=s' => undef, # number or number with prefix
        'date=s' => undef,
        'datebefore=s' => undef,
        'dateafter=s' => undef,
        'min-views=i' => undef,
        'max-views=i' => undef,
        'match-filter=s' => undef, # e.g. "like_count > 100 & dislike_count <? 50 & description"
        'no-playlist' => undef,
        'yes-playlist' => undef,
        'age-limit=i' => undef,
        'download-archive=s' => {completion=>$comp_file},
        'include-ads' => undef,

        # Download Options:
        'limit-rate|r=s' => undef, # number with prefix
        'retries|R=i' => undef,
        'fragment-retries=i' => undef,
        'skip-unavailable-fragments' => undef,
        'abort-on-unavailable-fragment' => undef,
        'keep-fragments' => undef,
        'buffer-size=s' => undef, # number or number with prefix
        'no-resize-buffer' => undef,
        'http-chunk-size=s' => undef, # e.g. 10485760 or 10M
        'playlist-reverse' => undef,
        'playlist-random' => undef,
        'xattr-set-filesize' => undef,
        'hls-prefer-native' => undef,
        'hls-prefer-ffmpeg' => undef,
        'hls-use-mpegts' => undef,
        'external-downloader=s' => {completion=>["aria2c", "axel", "curl", "httpie", "wget"]},
        'external-downloader-args=s' => undef,

        # Filesystem Options:
        'batch-file|a=s' => undef,
        'id' => undef,
        'output|o=s' => {completion=>$comp_file},
        'output-na-placeholder=s' => undef,
        'autonumber-start=i' => undef,
        '--restrict-filenames' => undef,
        'no-overwrites|w' => undef,
        'continue|c' => undef,
        'no-continue' => undef,
        'no-part' => undef,
        'no-mtime' => undef,
        'write-description' => undef,
        'write-info-json' => undef,
        'write-annotations' => undef,
        'load-info-json=s' => {completion=>$comp_file},
        'cookies=s' => {completion=>$comp_file},
        'cache-dir=s' => {completion=>$comp_dir},
        'no-cache-dir' => undef,
        'rm-cache-dir' => undef,

        # Thumbnail Options:
        'write-thumbnail' => undef,
        'write-all-thumbnails' => undef,
        'list-thumbnails' => undef,

        # Verbosity / Simulation Options:
        'quiet|q' => undef,
        'no-warnings' => undef,
        'simulate|s' => undef,
        'skip-download' => undef,
        'get-url|g' => undef,
        'get-title|e' => undef,
        'get-id' => undef,
        'get-thumbnail' => undef,
        'get-description' => undef,
        'get-duration' => undef,
        'get-filename' => undef,
        'get-format' => undef,
        'dump-json|j' => undef,
        'dump-single-json|J' => undef,
        'print-json' => undef,
        'newline' => undef,
        'no-progress' => undef,
        'console-title' => undef,
        'verbose|v' => undef,
        'dump-pages' => undef,
        'write-pages' => undef,



( run in 2.012 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )