You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clifun.Options can be put to much wider use (e.g. when eventually moved to orthauth) by switching the order of args and defaults so that it can be imported from a module without being in main to supply args. That way any configuration of the docstring use auth and any other default options can be accessed without having to fiddle around with argv etc. This will be a fairly large change in the way init is handled.
The text was updated successfully, but these errors were encountered:
This allows the Options class to serve as the turing complete part of the configuration scheme which the conf files in orthauth explicitly do not allow, and would decouple it from docopt, even if not from the docopt output format (which is not an issue since it is a simple sane format).
clifun.Options can be put to much wider use (e.g. when eventually moved to orthauth) by switching the order of args and defaults so that it can be imported from a module without being in main to supply args. That way any configuration of the docstring use auth and any other default options can be accessed without having to fiddle around with argv etc. This will be a fairly large change in the way init is handled.
The text was updated successfully, but these errors were encountered: