Closed Tenzer closed 1 year ago
I by the way noticed main.py
doesn't seem to be used at all. Can it be removed?
Actually, would it be better to check for the commands first that don't require a TV name? I think it then would be easier to catch if a name is missing or if the command is mistyped.
I'm also thinking it might be nice to be able to configure a default TV which would allow people to not have to pass the --name
argument to every command.
I have made a PR to set up a default TV name in #137 which would replace this change.
Ok, you probably need to close this one if #137 over-rides it - but I like the idea of a warning message.
Handled via #137 instead.
This will help make it more obvious for people upgrading that the argument now need to be specified.
See for instance https://github.com/klattimer/LGWebOSRemote/issues/118#issuecomment-1819307552.