The cloud view is responsible for rendering messages related to cloud operations, presenting them to the user in either a human-readable format or as JSON output in the terminal.
Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
The cloud backend includes a retry hook that relies on a go-tfe implementation. Since these retry messages were not rendered through a view, the `-json` flag was not respected, leading to mixed (non-pure JSON) output in the terminal whenever retry messages were printed.
Before passing the init view to the cloud backend, we ensure the retryLog hook is included in the init view.
Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>