Expand description
caproni update: update all repository source code.
Port of Go’s cmd/update package.
Structs§
- Update
Args - Update
Command Options - Port of
update.UpdateOptions: the resolvedclapflags for this command, kept separate fromxianyun_update::updater::UpdateOptions(which this maps into) sorun_updatedoesn’t need aclap::Argsdependency.
Functions§
- build_
repo_ filter - Builds a repository filter closure from
--repo/--skipselectors. - run
- run_
update - Port of
update.runUpdate: loads the configuration, builds a repo filter from--repo/--skip, updates every repository, prints the result table/summary/suggestions, and reports a non-zero exit code if any repository failed.
Type Aliases§
- Repo
Filter - A filter predicate over repository names, as returned by
build_repo_filter.