add cfg to calls to subcommand functions. Also remove global command-to-func mapping
add cfg to calls to subcommand functions. Also remove global command-to-func mapping

ganwell/pyaptly,adfinis-sygroup/pyaptly