gandalf
gandalf copied to clipboard
bin: create struct to centralize command informations
Some informations are collected every time they're needed from SSH_ORIGINAL_COMMAND, we could store the processed informations in a struct, like:
type originalCmd struct {
action string
repositoryName
...
}