Skip to main content
versuno diff <id> [--version <n>]
Fetches the remote content of an asset and prints a unified diff against the local copy. Output is colorized when the terminal supports it.

Arguments

ArgumentRequiredDescription
idYesAsset ID (e.g. ctx_abc123)

Options

FlagDescription
--version <n>Diff against a specific version number instead of the latest.
--format jsonOutput a JSON object with the raw diff string instead of colorized terminal output.

Example

# Diff the local file against the latest remote version
versuno diff ctx_abc123

# Diff against version 3
versuno diff ctx_abc123 --version 3

Output

--- contexts/onboarding.md (remote v4)
+++ contexts/onboarding.md (local)
@@ -1,5 +1,6 @@
 Welcome to the onboarding flow.
-Please follow these steps carefully.
+Follow these steps in order.
+Contact support if you get stuck.

See also