socon-dev / socon

Socon is a microservice architecture framework that helps you focussing on deploying/chaining individual commands and custom services between your different projects
BSD 3-Clause "New" or "Revised" License
26 stars 3 forks source link

Cannot call subcommand from call_command #37

Closed StephaneCapponi closed 1 year ago

StephaneCapponi commented 1 year ago

self.argv is not found when calling a subcommand command from call_command. This is beacause the call_command function directly call the parcer and the execute method of the command. This is wrong as the Subcommand command redfefine how to execute the command and how to parse the args.