-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
CLI options are not documented #3327
Comments
One way to document the CLI commands and options without getting out-of-sync could be to dynamically generate this documentation from the output of `pelican --help`.
In terms of implementing that, is this something you would like to help out with?
|
The current output from help would need augmenting, as it does not give full details of all the options. For example it would be useful to document how to override PLUGIN_PATHS which is a list (array). There are various other options which could do with more explanation. Doing so in the option list would make the help rather unwieldy. The format is also not that easy to read; it's best kept as a reminder rather than full documentation. A possible work-round is to document the settings in the code itself, e.g. as documentation for the parse_arguments function. |
I think your proposed workaround could indeed be a good place to start. 👍 |
Or you could depends on See for instance the results of my CLI in its Sphinx documentation: https://kdeldycke.github.io/meta-package-manager/cli-parameters.html |
Issue
I could not find any documentation of the CLI options such as --fatal etc.
Once Pelican is installed, of course one can use the help option, but that does not provide sufficient information for some of the options, and is not really a substitute for documentation.
The text was updated successfully, but these errors were encountered: