This is an experimental app used to configure your ErsatzTV instance from the terminal.
This app requires a config.yml file in the working directory with the following two fields:
# the ersatztv server address
server: http://localhost:8409
# the template file used for exporting and planning
template: /tmp/smart_collections.yml./etvctl exportThe export command will export all smart collections from ErsatzTV into the configured template file.
./etvctl planThe plan command will compare the configured template file with the current state in ErsatzTV, and print the list of changes that need to be made to the ErsatzTV instance so that it matches the template.
./etvctl applyThe apply command will generate and print a plan, and if approved by the user, apply the plan to the ErsatzTV instance.