~whynothugo/shotman#35: 
add a --file option

it's nice that shotman puts the files in my screenshot folder out of the box and that there's a way to override those defaults... but it doesn't look like there's a way to actually pick the actual file name, which seems to be autogenerated.

could it be possible to add an arbitrary --file argument, that bypasses the environment/defaults lookups entirely?

this would be essential to hook shotman into my current screenshot/pastebin framework (pubpaste)...

alternatively, i could parse the --verbose output, but that seems much clunkier... other screenshot tools (e.g. grim) provide such a functionaliy, which makes it easy to hook into...

could this be done here too?

thanks!

Status
REPORTED
Submitter
~anarcat
Assigned to
No-one
Submitted
3 months ago
Updated
2 months ago
Labels
No labels applied.

~anarcat referenced this from #19 3 months ago

~whynothugo 2 months ago

I want to think about it a bit more. It sounds like a reasonable request, but I'm also considering an --stdout flag which pipes the image to stdout — this can be used to write into any file location but also some other exotic situations. Not entirely sure which form I prefer the most.

~anarcat 2 months ago

makes sense, although i'd argue for --file - in that case. :p

Register here or Log in to comment, or comment via email.