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

Allow arguments to pass thru to age #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elovelan
Copy link

@elovelan elovelan commented Oct 13, 2023

I'm trying to use age-op as a drop-in age replacement for an external program (Chezmoi) that shells out to it. It uses long argument names and other arguments that aren't currently supported by age-op, so I experimented with allowing age-op to pass all parameters through to age except for the ones it uses itself.

I'm opening this mainly for discussion but I believe this is more useful than opening a regular issue since you can see what I'm proposing. If you like the approach, I'll clean up my commits and the documentation, add tests, and convert the PR from a draft.

@elovelan
Copy link
Author

elovelan commented Oct 20, 2023

for the record, I suspect #1 is a better long-term option, which I'd be very happy to help with, but this seems like a decent stop-gap since I suspect the former will be a fair bit more effort.

@elovelan elovelan marked this pull request as ready for review November 30, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant