Start local scan from extension

Hey, I am working on a small extension for mopidy.
I would like to start the local scan command from my extension. Any input on how i could achieve that?
I can get the config which the ScanCommands require but not the args.
With other words I don’t know how to mock the arguments to start the ScanCommand