refactor: unify instantiation of command.Shell
Avoid instantiating command.Shell directly.
Since the arguments
array is nil, the Parse method will just validate the Shell
(parseWho
will be a no op)
NewWithKey
has been added to avoid mixing the parsing logic with sshd (passing []string{"key-"+gitlabKeyId}
to New
)
Closes #517 (closed)