[x] I can and do license this contribution under the EFLv2
[x] No issues are reported by make qa (runs make lint and make test)
[x] I have tested the functionality of the things this change touches
Note: I'm not up for creating a whole test_cli_config.py suite from scratch for this. I verified that both error cases (empty/unset $EDITOR envvar, and nonexistent config file) are caught, and of course that the normal case opens an editor as intended.
Opens the specified config file in the user's
$EDITOR
, obeying any environment variables like$SOPEL_CONFIG_DIR
, as a convenience.Checklist
make qa
(runsmake lint
andmake test
)test_cli_config.py
suite from scratch for this. I verified that both error cases (empty/unset$EDITOR
envvar, and nonexistent config file) are caught, and of course that the normal case opens an editor as intended.