Add Levant `job-logs` command to tail logs
Description
Nomad 0.8.0 will bring in a proxy style feature so that client based HTTP API requests can be proxied through the Nomad server API. This is required as Nomad clients should be running in private subnets and programatic access from applications such as Jenkins controlled and only allowed access through the server API.
This feature therefore is to create a new command using this feature which allows the streaming of job logs until the completion of the job. This is very helpful for batch and parameterised job where operators likely wish to trigger an instance of the job and then track the logs until completion.
Was going to jump on this, just wondering if it should be a separate command or rolled into the monitor command thats in progress?
I'd like to see this as a separate command - though it might build on top of what is already in the monitor command.
One thing I'd also like to see is the ability to tail logs for multiple jobs. This might be useful in the case where multiple jobs make up a given application, and a user wants to tail all logs for an app as a single unit.