Skip to content

roll settings commands into a single wrapper using click

Brennen Bearnes requested to merge brennen/unify-settings into main

This is still a little clunky and repetitive, code-wise, but a nicer interface.

The settings script now has 3 subcommands:

diff    Show differences between instance and settings.yaml
update  Update settings on instance to match local settings.yaml.
view    Show all instance settings.

Additionally, it takes parameters for instance URL and token, which can also be specified by environment variables.

TODO:

  • make target instance configurable

Background:

Edited by Brennen Bearnes

Merge request reports