Skip to content

Commit e81379d

Browse files
committed
fix: add --path flag and xmllint validation example to docs skill
1 parent be44249 commit e81379d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

skills/b2c-cli/skills/b2c-docs/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@ b2c docs schema order
7272
# List all available schemas
7373
b2c docs schema --list
7474

75-
# Output as JSON
76-
b2c docs schema catalog --json
75+
# Print the filesystem path to the schema file
76+
b2c docs schema catalog --path
77+
78+
# Validate an XML file against a schema using xmllint
79+
xmllint --schema "$(b2c docs schema catalog --path)" my-catalog.xml --noout
7780
```
7881

7982
## Common Classes

0 commit comments

Comments
 (0)