src/Command/AbstractCommand.php
protected function addModuleArgument($required = InputArgument::REQUIRED) : void
    {
        $module = new InputArgument('module', $required, 'Module name is required');
        $this->getDefinition()->addArgument($module);
    }
protected function addModuleArgument($required = InputArgument::REQUIRED) : void
    {
        $module = new InputArgument('module', $required, 'Module name is required');
        $this->getDefinition()->addArgument($module);
    }
Add Module Argument

@param int $required
@return void