Skip to main content

update

sunset update [path] [flags]

update hashes discovered files and reparses only files whose content changed since the cache entry. It always uses the cache and always writes summary output. It does not accept --detail, --no-cache, or --max-depth.

FlagDefaultMeaning
--output<path>/.sunset/outputDestination directory.
--excludeemptyComma-separated filename or relative-path glob patterns.
--concurrencyCPU countMaximum parallel parsers.
--quietfalseSuppress normal progress output.
sunset update . --exclude "*_test.go" --quiet

An incremental index contains only newly parsed file metadata, not all cached files. Removed cache entries do not remove old per-file Markdown; see limitations.