Interactively update your blocks.
jsrepo update
Choose which blocks to update:
jsrepo update
Update a specific block:
jsrepo update utils/math
--all
Update all installed components.
jsrepo update --all
-E, --expand
Expands the diff past the limit set by --max-unchanged
so that you can see the entire file.
jsrepo update --expand
--max-unchanged
Sets a limit on the maximum unchanged lines to display in a diff before it is collapsed. (default: 3)
jsrepo update --max-unchanged 10
-n, --no
Do update any blocks.
jsrepo update --no
--repo
The repository to download the blocks from.
jsrepo update --repo github/ieedan/std
-A, --allow
Allow jsrepo to download code from the provided repo. This skips the initial confirmation prompt when attempting to download a block from a registry not listed in the jsrepo.json
file.
jsrepo update github/ieedan/std/utils/math --allow
-y, --yes
Skips confirmation prompts. (Not including permissions prompts)
jsrepo update --yes
--no-cache
Prevents caching the git provider state. Useful if the cache is incorrect due to changing the default branch for a repository or changing a tag into a head or vise versa.
jsrepo update --no-cache
--verbose
More verbose logging. (May be used to troubleshoot issues)
jsrepo update --verbose
--cwd
Run the current command on the provided directory absolute or relative.
jsrepo update --cwd ./sites/docs
-h, --help
Help with the command.
jsrepo update --help