tonglil / labeler

Superseded by https://github.com/apps/settings - Manage labels on GitHub as code
MIT License
82 stars 11 forks source link

Allow scanning to print to stdout #15

Open tonglil opened 7 years ago

tonglil commented 7 years ago

Instead of forcing a destination file, print the scan result to stdout if a file is not provided.

tonglil commented 7 years ago

Can be done, but is it desirable?

Could be better served by big refactoring of Options to hold a file open, than just the filename. Or change config.Write to satisfy some interface.

tonglil commented 7 years ago

But the question is why do this? Dry run is already pretty decent and scanning into a file is just a matter of git reset to revert the scan results.