Skip to content
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.config: implement set and unset subcommands #1986

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 9, 2020

  1. Configuration menu
    Copy the full SHA
    63797af View commit details
    Browse the repository at this point in the history
  2. cli.config: implement limited validation for set (in [core] only)

    Note that an invalid value already present in the config file will block
    using `sopel-config` commands **at all** for now. This is not new.
    
    Plugin-defined `StaticSection`s aren't loaded as such here. Only values
    present in the config file are parsed by `configparser`, and new values
    can't be validated unless `cli.utils.load_settings()` is reworked to
    load plugins' static sections too.
    dgw committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    d49b679 View commit details
    Browse the repository at this point in the history