grim/convey

Port from logrus to log/slog
default tip
5 months ago, Elliott Sales de Andrade
c588f9b3f559
Port from logrus to log/slog

This doesn't really take much advantage of structured logging beyond what is already done (`id` and `idColor`), and consequently the log handler does not try to do any handling of anything more than that (i.e., grouping, or arbitrary attributes beyond those defined).

One should maybe have a `Context` available to pass in, but there isn't one, and anyway, the log handler doesn't use it, so I've passed in a `TODO` instead.

Everything else is just normal import/rename changes.

Testing Done:
Ran `go run . run`

Reviewed at https://reviews.imfreedom.org/r/2871/
# Usage
Convey is a terminal based application. It has a few subcommands, but it will
primarily be called with the [run](#run) subcommand.
## Basic
```plain
Usage: convey <command>
Convey is a container pipeline runner.
Flags:
-h, --help Show context-sensitive help.
--color Enable colorized output.
-v, --verbose Be more verbose
Commands:
run Run plans
version Show the version and exit
Run "convey <command> --help" for more information on a command.
```
## Run Command
```plain
Usage: convey run [<plans> ...]
Run plans
Arguments:
[<plans> ...] The names of the plans to run
Flags:
-h, --help Show context-sensitive help.
--color Enable colorized output.
-v, --verbose Be more verbose
-f, --config-file=FILE The config file to load
-S, --force-sequential Force concurrent stages to be ran sequentially
--keep-workspace Keep the workspace directory after running
--timeout=DURATION The maximum amount of time a plan can run. 0 to disable. Units must be
specified.
-e, --env=ENV,... Set an environment variable
```
## Version Command
```plain
Usage: convey version
Show the version and exit
Flags:
-h, --help Show context-sensitive help.
--color Enable colorized output.
-v, --verbose Be more verbose
```