Skip to main content

Module update

Module update 

Source
Expand description

caproni update: update all repository source code.

Port of Go’s cmd/update package.

Structs§

UpdateArgs
UpdateCommandOptions
Port of update.UpdateOptions: the resolved clap flags for this command, kept separate from xianyun_update::updater::UpdateOptions (which this maps into) so run_update doesn’t need a clap::Args dependency.

Functions§

build_repo_filter
Builds a repository filter closure from --repo/--skip selectors.
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§

RepoFilter
A filter predicate over repository names, as returned by build_repo_filter.