feat(packages): show owner, repo and created date in text rows #91
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/packages-text-columns"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fj packages listandfj packages versionstext output dropped owner, repository and created_at, which--format jsonalready carried. Concatenating a per-owner sweep (the API has no server-wide package listing) produced rows that could not be told apart, and a container row gave no hint which repository published it.Rows are now collected first so each column's width can be measured on the raw Rust values, then emitted pre-padded as single Fluent arguments; Fluent wraps every argument in bidi isolates, so alignment cannot be done inside the
.ftl.listprints owner, type, name, version, repository, created;versionsprints type, version, repository, created (owner and name are fixed by the command arguments). A package with no linked repository renders-. The created cell goes through the existingAsFluent for OffsetDateTimeimpl, so text stays locale-formatted and RFC 3339 stays JSON-only.PackageJsonand the--format jsonpath are untouched.#FJ-70