alphapapa / alphapapa/plz.el

Allow additional arguments to curl?

オープン
#4 コメント 6 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。