code: public function initApp(): void
      {
          $tmpDir = \Swoft::getAlias('@runtime');
          $names  = [
              'logs',
              'uploadfiles'
          ];
  
          \output()->writeln('Create runtime directories: ' . \implode(',', $names));
  
          foreach ($names as $name) {
              DirHelper::make($tmpDir . '/' . $name);
          }
  
          \output()->writeln('<success>OK</success>');
      }
docs: init the project, will create runtime dirs
  
  @CommandMapping("init", usage="{fullCommand} [arguments] [options]")
  @throws \InvalidArgumentException
  @throws \RuntimeException