890 B
890 B
update Command
update scans existing Go spec packages, checks the latest upstream version, and can update the spec version.
Usage
go2spec update [options] <SPECS_DIR>
<SPECS_DIR> must contain go-* subdirectories with spec files.
SPECS_DIR/
go-golang-x-net/
go-golang-x-net/go-golang-x-net.spec
Options
-n
Dry run, detect updates only, do not modify files
-j <num>
Number of concurrent checks, default is 3
Recommended Workflow
Start with dry run mode:
go2spec update -n /path/to/SPECS
Apply updates after reviewing the output:
go2spec update -j 4 /path/to/SPECS
Review the generated diff before committing packaging changes.