RiotGames/nexus_cli — pull request #32 by KAllan357 (2012-08-10 01:30:25+00:00)
Title: Allow the retrieving, editing, and resetting of the global_settings

Nexus exposes the global_settings endpoint:

Retrieve is a simple GET of the /current endpoint. I write this output to a file.

Editing is a PUT of the retrieved file onto the /current endpoint. Its either all or nothing which is why the retrieve is important.

Resetting is a PUT onto /current with data retrieved from a GET on /default. Basically a reset to the Nexus' default configuration out-of-the-box.