pypa/pipx

Seems pipx is neither quiet nor json/scriptable?

已關閉

#828 建立於 2022年3月15日

 (1 則留言) (5 個反應) (0 位負責人)Python (590 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (12,945 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I must be missing something … but how do I use pipx in a cronjob or shell script? This won't suppress output and still prints progress info:

pipx upgrade-all >/dev/null

And while pipx install --pip-args could be used to pass --quiet, this won't work for upgrade-all. Additionally, there is only a --json option for pipx list --json, right? What if I want to work with (json/no) pipx output with all subcommands? Wouldn't it be good to introduce --quiet and make --json and --quiet an option that changes the behaviour of pipx?

貢獻者指南