Skip to content
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

[FR] - All command line options that take a filename should also take "-" #5016

Open
newhoggy opened this issue Mar 24, 2023 · 1 comment
Open
Labels
Stale type: enhancement An improvement on the existing functionality

Comments

@newhoggy
Copy link
Contributor

newhoggy commented Mar 24, 2023

Internal/CLI

All command line options that take a filename should also take "-". These can be found by searching for metavar "FILE" in the source code.

When - is given to these options, the behaviour should depend on whether or not the file is an input or output file. If it is an input file, then the input should read from stdin. If it is an output file, then the output should write to stdout.

The change should otherwise be backwards compatible.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

@github-actions github-actions bot added the Stale label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale type: enhancement An improvement on the existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant