forked from iawia002/Lulu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,9 +59,6 @@ docs/_build/ | |
target/ | ||
|
||
# Misc | ||
_* | ||
*_ | ||
!__*.py | ||
*.3gp | ||
*.asf | ||
*.download | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#compdef lulu | ||
|
||
# Zsh completion definition for iawia002/Lulu. | ||
|
||
setopt localoptions noshwordsplit noksharrays | ||
local -a args | ||
|
||
args=( | ||
'(- : *)'{-V,--version}'[print version and exit]' | ||
'(- : *)'{-h,--help}'[print help and exit]' | ||
'(-i --info)'{-i,--info}'[print extracted information]' | ||
'(-u --url)'{-u,--url}'[print extracted information with URLs]' | ||
'(--json)--json[print extracted URLs in JSON format]' | ||
'(-n --no-merge)'{-n,--no-merge}'[do not merge video parts]' | ||
'(--no-caption)--no-caption[do not download captions]' | ||
'(-f --force)'{-f,--force}'[force overwrite existing files]' | ||
'(-F --format)'{-F,--format}'[set video format to the specified stream id]:stream id' | ||
'(-O --output-filename)'{-O,--output-filename}'[set output filename]:filename:_files' | ||
'(-o --output-dir)'{-o,--output-dir}'[set output directory]:directory:_files -/' | ||
'(-p --player)'{-p,--player}'[stream extracted URL to the specified player]:player and options' | ||
'(-c --cookies)'{-c,--cookies}'[load cookies.txt or cookies.sqlite]:cookies file:_files' | ||
'(-x --http-proxy)'{-x,--http-proxy}'[use the specified HTTP proxy for downloading]:host\:port:' | ||
'(-y --extractor-proxy)'{-y,--extractor-proxy}'[use the specified HTTP proxy for extraction only]:host\:port' | ||
'(--no-proxy)--no-proxy[do not use a proxy]' | ||
'(-t --timeout)'{-t,--timeout}'[set socket timeout]:seconds' | ||
'(-d --debug)'{-d,--debug}'[show traceback and other debug info]' | ||
'*: :_guard "^-*" url' | ||
) | ||
_arguments -S -s $args |