mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Add links to repo to fund/licenses/search commands and add links to docs to config command
This commit is contained in:
parent
06bb3c9179
commit
f9d61c0665
7 changed files with 72 additions and 16 deletions
|
@ -19,6 +19,7 @@ use Composer\Package\CompletePackageInterface;
|
|||
use Composer\Pcre\Preg;
|
||||
use Composer\Repository\CompositeRepository;
|
||||
use Composer\Semver\Constraint\MatchAllConstraint;
|
||||
use Symfony\Component\Console\Formatter\OutputFormatter;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
@ -116,7 +117,7 @@ class FundCommand extends BaseCommand
|
|||
$prev = $line;
|
||||
}
|
||||
|
||||
$io->write(sprintf(' %s', $url));
|
||||
$io->write(sprintf(' <href=%s>%s</>', OutputFormatter::escape($url), $url));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue