gleam-lang/gleam

Improve output of outdated dependency command

Fechada

#5.573 aberto em 6 de abr. de 2026

 (3 comentários) (0 reação) (0 responsável)Rust (960 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (21.417 estrelas)
Métricas de merge de PR
 (Mesclagem média 10d 19h) (69 fundiu PRs em 30d)

Description

In the discussion linked below, we came up with an improvement to the output of the gleam deps outdated command.

We would have 1 line stating how many outdated packages were found, a new line and then the table (if outdated packges > 0). For example:

$ gleam deps outdated
1 out of 12 packages have newer versions available.

Package       Current  Latest
-------       -------  ------
gleam_stdlib  0.70.0   0.71.0
$ gleam deps outdated
0 out of 12 packages have newer versions available.

The goal of this design is for the case of no outdated dependencies to not be silent (no output), while for other tools, that rely on this command, to still output something that is parsable in an easy manner.

Reference discussion: https://github.com/gleam-lang/gleam/discussions/5484


Edit: use '# of # packages have newer versions available' for the message

Guia do colaborador