Skip to content

Commit

Permalink
added help
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Nov 12, 2024
1 parent da4a524 commit 2a29874
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/N98/Magento/Command/Database/ImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ protected function configure()
*/
public function getHelp(): string
{
return <<<HELP
$help = <<<HELP
Imports an SQL file with mysql cli client into current configured database.
You need to have MySQL client tools installed on your system.
HELP;
return
$help . PHP_EOL
. $this->getCompressionHelp() . PHP_EOL;
}

/**
Expand Down Expand Up @@ -183,6 +186,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}
return 0;
}
public function asText()
{
return parent::asText() . "\n" .

Check failure on line 191 in src/N98/Magento/Command/Database/ImportCommand.php

View workflow job for this annotation

GitHub Actions / Analyze (20.10.2, ubuntu-latest, 7.4, 8.0)

Call to an undefined static method N98\Magento\Command\Database\AbstractDatabaseCommand::asText().
$this->getCompressionHelp();
}

/**
* @param InputInterface $input
Expand Down

0 comments on commit 2a29874

Please sign in to comment.