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
This can be avoided by allowing only valid theme names in the CLI parser, e.g. via choices in argparse. Ideally, you fill in the choices dynamically, directly from the themes module, e.g.
If you specify a theme name in the CLI that doesn't exist the program fails with a
KeyError
, e.g.This can be avoided by allowing only valid theme names in the CLI parser, e.g. via choices in argparse. Ideally, you fill in the
choices
dynamically, directly from the themes module, e.g.The text was updated successfully, but these errors were encountered: