Skip to content

Commit

Permalink
*: 🔧 .gitignore [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 committed Feb 2, 2018
1 parent f5e3165 commit 4b0b13a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ docs/_build/
target/

# Misc
_*
*_
!__*.py
*.3gp
*.asf
*.download
Expand Down
29 changes: 29 additions & 0 deletions contrib/completion/_lulu
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

0 comments on commit 4b0b13a

Please sign in to comment.