This commit adds the capability to apply a custom formatting
function to the values returned by the API before presenting to
the user, and applies it initially on the deploy states.
Below is an example of the before/after:
Before:
+--------------+------------+------+-------+
| From Release | To Release | RR | State |
+--------------+------------+------+-------+
| 24.09.0 | 25.03.0 | True | host |
+--------------+------------+------+-------+
After
+--------------+------------+------+-------------+
| From Release | To Release | RR | State |
+--------------+------------+------+-------------+
| 24.09.0 | 25.03.0 | True | deploy-host |
+--------------+------------+------+-------------+
Test Plan
PASS: run deploy show and verify the output is correct
Story: 2010676
Task: 50368
Change-Id: Iaa06e796bd8661c05e3086e7c16cf39b09fde274
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>