Charles Short b186b1f67a Remove duplicate code
Using click's "required" argument checks to see if the
value is passed or not. Therefore we can check before
flag before running a command. So we can remove duplicate
code.

Story: 2010867
Task: 48556

Change-Id: Ie07d8ff921c8b883d323f8bbc062ce1130039848
Signed-off-by: Charles Short <charles.short@windriver.com>
2023-08-21 14:19:03 +00:00
..
2023-08-14 14:01:24 -04:00
2023-08-21 14:19:03 +00:00
2023-08-14 14:01:24 -04:00