pypa/pipx

Seems pipx is neither quiet nor json/scriptable?

Fechada

#828 aberto em 15 de mar. de 2022

 (1 comentário) (5 reações) (0 responsável)Python (591 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (12.938 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d 12h) (22 fundiu PRs em 30d)

Description

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?

Guia do colaborador