alphapapa / alphapapa/plz.el

Allow additional arguments to curl?

未關閉
#4 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
discussion
主要語言
Emacs Lisp
星號
236
分支
19
PR 合併指標
30 天內沒有已合併 PR

描述

I'd like to use plz to upload files to an authorized endpoint. That endpoint requires the file and various dynamically-assigned parameters to be passed as multipart form data. In curl this is achieved with command-line arguments like:

```sh
curl '' \
-F 'key=/users/1234/files/profile_pic.jpg' \

-F 'file=@my_local_file.jpg'
```
How would you feel about allowing an additional parameter `:additional-cli-args` (or something) that gets added to `curl-command-line-args`, or maybe just replaces `plz-curl-default-args`? This would allow me to use plz for such requests. What do you think?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。