cli: Don't use 'signer' where not necessary
In the ‘clone’ command, a ‘signer’ is instanciated just to get the public key. In the ‘job’ command, a ‘signer’ is instanciated early, even when the subcommand doesn’t use it.
That’s unnecessary, and infers the potential use of RAD_PASSPHRASE. In those cases, avoid instanciating a ‘signer’.
In the ‘clone’ command, a ‘signer’ is instanciated just to get the public key. In the ‘job’ command, a ‘signer’ is instanciated early, even when the subcommand doesn’t use it.
That’s unnecessary, and infers the potential use of RAD_PASSPHRASE. In those cases, avoid instanciating a ‘signer’.
Fix of clippy error
LGTM, thanks!
This patch could use some love, all I can do is rebase it…
Rebased