From 21fbf56f3130f3f690148c3134368759016f26e6 Mon Sep 17 00:00:00 2001 From: "promptless[bot]" <179508745+promptless[bot]@users.noreply.github.com> Date: Sun, 1 Mar 2026 03:07:20 +0000 Subject: [PATCH] Document --version CLI argument --- fern/pages/docs/get-started/sample-tests.mdx | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/fern/pages/docs/get-started/sample-tests.mdx b/fern/pages/docs/get-started/sample-tests.mdx index 84af62c..878432e 100644 --- a/fern/pages/docs/get-started/sample-tests.mdx +++ b/fern/pages/docs/get-started/sample-tests.mdx @@ -142,6 +142,27 @@ The `-v` argument is not necessary for remotely hosted tests since Docker doesn' These tests run the same way as local tests, but Doc Detective fetches the test file from the specified URL and stores it in a temporary directory. The URL must be accessible to the machine running the tests. +### Check version + +To check your installed version, use the `--version` argument: + + + + +```bash +npx doc-detective --version +``` + + + + +```bash +docker run docdetective/docdetective --version +``` + + + + ## Next steps - [Resources](./resources)