cli/command: remove AddTrustSigningFlags, AddTrustVerificationFlags, AddPlatformFlag utilities by thaJeztah · Pull Request #6244 · docker/cli (original) (raw)

@thaJeztah

it was only used internally in a single location, so inline the code where it's used.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

@thaJeztah

It was only used internally; inline it where used.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

@thaJeztah

It was only used internally and has no external users. It should not be used for new uses, because it also adds a minimum API version constraint and a default from env-var, which must be evaluated for each individual use of such flags.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

@thaJeztah thaJeztah changed the titlecli/command: remove AddTrustSigningFlags and AddTrustVerificationFlags cli/command: remove AddTrustSigningFlags, AddTrustVerificationFlags, AddPlatformFlag utilities

Aug 6, 2025

@thaJeztah thaJeztah deleted the remove_trust_flag_helpers branch

August 6, 2025 17:37

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})