From 3d8526ef25f3ff7df882aacdc19f4c9b8e1de472 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sat, 31 Jul 2021 15:46:17 -0700 Subject: [PATCH] docs/cmd/fetch- add screenshot showing lock updates --- docs/commands/fetch.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/commands/fetch.md b/docs/commands/fetch.md index 3a3cf146abf5f1b70d0d669460c767eb4b9e67d3..13ef2a9048c244b5a2e281a847144f44cf4f040c 100644 --- a/docs/commands/fetch.md +++ b/docs/commands/fetch.md @@ -25,3 +25,10 @@ For a full reference on the fields available in `deps.zig` you can check [here]( + deps.addAllTo(exe); exe.install(); ``` + +## Screenshot +![image](https://user-images.githubusercontent.com/5464072/127753849-53d4f4df-d9de-459a-a9db-6b61e5fb0d17.png) + +In addition to fetching your dependencies `fetch` will help you track any updates. + +In the event you are using Git, `fetch` will parse the diff of your committed `zigmod.lock` with the new one it just printed and give you a status update on new packages, removed packages, or updated packages. If a dependency happens to be hosted on a major Git provider, then it will also reformat the updates section to print a compare URL so you may visit it in a browser and view the changes directly. Else, it will still print the "from" and "to" commits. -- 2.54.0