goodls icon indicating copy to clipboard operation
goodls copied to clipboard

No URL Data for Non-interactive session

Open Skyluker4 opened this issue 3 years ago • 2 comments

When running goodls from GitHub actions, it runs in a non-interactive terminal. When the URL parameter is passed to the goodls in a GitHub Workflow, it is ignored and instead reads from STDIN. It displays the error "No URL data. Please check help". For now, I just have a workaround where it echoes the URL and pipes it through to goodls, but that is not ideal. It is the check on line 340 of goodls.go that is causing the error.

Skyluker4 avatar Aug 25 '21 22:08 Skyluker4

I hit this bug also.

Troyhy avatar Feb 13 '23 07:02 Troyhy