Split these into cli/trust so that other commands can make use of them. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> (cherry picked from commit 4b8c79f25e)
4b8c79f25e