Note: I am mainly putting the review here in case we want to bikeshed the names of the commands or the names/style of configuration. I will work on the unittests while this review is going on.
This adds the following commands to lnt, so users can perform some data cleanup on LNT servers through the REST api without having ssh+database access on the server. (REST authentication works through an API token, that server administrators can optionally set).
$ > bin/lnt admin --help ... Commands: create-config get-machine list-machines rename-machine rm-machine rm-run
The commands attempt to load lntadmin.yaml from the current directory, so you can prepare this configuration with all your server information, authentication and api tokens and don't need to retype it with every command.