widdershins icon indicating copy to clipboard operation
widdershins copied to clipboard

Feature request: Exclude operation authorization notice

Open ktsuench opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. It would be nice if we could exclude the operation authorization notice.

Describe the solution you'd like It would be as simple as modifying the template file that includes that snippet. I already have a working PR I will be submitting after this issue is opened.

Describe alternatives you've considered Well another alternative would be to accept that the operations authorization notice is always included. But that's not a good solution, especially if they weren't needed to begin with.

Additional context N/A

ktsuench avatar Dec 16 '19 18:12 ktsuench

Hi, thanks for the issue and PR. When you say:

It would be as simple as modifying the template file that includes that snippet.

This is true, and there is already a mechanism for doing this using the -user_templates option. Basically I'm trying to push back on this just a little so we don't go on accumulating options forever.

So, is there a reason this solution is better for you than -user_templates, or could we maybe make it more generic by making it act on any template name by making it a null operation that just returns an empty string?

MikeRalphson avatar Dec 23 '19 10:12 MikeRalphson

I think that's a good point. I could take a look into making it act on any template name to exclude templates during the transformation process.

ktsuench avatar Dec 24 '19 19:12 ktsuench