pypa/pipx

Seems pipx is neither quiet nor json/scriptable?

Closed

#828 opened on 2022年3月15日

GitHub で見る
 (1 comment) (5 reactions) (0 assignees)Python (363 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (7,844 stars)
PR merge metrics
 (平均マージ 4d 12h) (30d で 22 merged PRs)

説明

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?

コントリビューターガイド