Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature request] Output files as links #662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
auipga opened this issue Aug 11, 2020 · 2 comments
Closed

[Feature request] Output files as links #662

auipga opened this issue Aug 11, 2020 · 2 comments
Labels
Feature New Feature

Comments

@auipga
Copy link

auipga commented Aug 11, 2020

Please output newly generated files as links.

$io->text([
sprintf('Next: Review the new migration <info>%s</info>', $migrationName),

There is a similar implementation in var-dumper's CliDumper which may be interesting for reusage.

@auipga
Copy link
Author

auipga commented Oct 7, 2020

Is in symfony/symfony#29235 anything left to do, so I can use sth. like:

$io->writeln('<href=https://symfony.com/blog>Good news</>'); // already implemented
$io->writeln($splFileInfo->getPath()); // to open a directory in a file manager
$io->writeln($splFileInfo->getPath(), (?array=null) $selected=["app.php"]); // like above + selected files
$io->writeIdeLink('<href-ide='.$splFileInfo->getPathname().'>a file</>', (?int) $line, (int=0) $row, (?int=null) $selectionEnd); // using get_cfg_var('xdebug.file_link_format')
$io->writeScript('text for clipboard', (string) $cdm = "echo %s | xclip");

@jrushlow jrushlow added the Feature New Feature label Oct 31, 2020
@jrushlow
Copy link
Collaborator

We have no immediate plans to implement this into MakerBundle. However, PR's are always welcome!

@jrushlow jrushlow closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature
Projects
None yet
Development

No branches or pull requests

2 participants