-
-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
man pages and shell autocomplete support #150
Comments
Apparently It is possible (youtube-dl does so in its setup.py), |
Well, it is a request for a feature not yet there. |
… a man-page containing all of gallery-dl's configuration file options. This implementation relies on Python dicts preserving their insertion order. Python 3.4 and 3.5 need to use OrderedDict or they produce randomly ordered man-page sections. The man-page formatting is a bit rough around the edges, but it works for the most part. The only real "problem" are inline-links, but it's better if they are left in there.
v1.8.1 comes with a bash completion script and two man pages (one general, one for config file options). They all could most certainly be improved, but at least it's something. zsh completion works with a simple |
Gonna try my luck here and ask if we can't get zsh completion included, with the current solution I have source the completion file in my .zshrc directly and it's just all around an ugly workaround. Understandable if you don't wanna bother with it :p |
@kattjevfel I hope this works: d0cd86e |
scrapped message EDIT 2: okay I got it to work once and never again..
|
Try putting a dash or double dash after $ gallery-dl
file: ftp:// gopher:// http:// https://
$ gallery-dl --
--abort -- Abort extractor run after N consecutive file down
--chapter-filter -- Like "--filter", but applies to manga-chapters an
--chapter-range -- Like "--range", but applies to manga-chapters and
--clear-cache -- Delete all cached login sessions, cookies, etc.
... If you don't provide any input after |
Is it possible to have the install script install man pages and support for the autocomplete functions of shells (e.g. of bash, fish, zsh and so on) on a Linux system?
The text was updated successfully, but these errors were encountered: