brief group
Organize documentation groups and inspect, update, or reorder their contents.
Manage documentation groups
Usage#
Subcommands#
brief group remove— Remove a group and its pages (alias: rm)brief group move— Move a group tree and update links (alias: mv)brief group add— Add a groupbrief group inspect— Inspect authored and effective settingsbrief group update— Update validated settingsbrief group order— Place an entry among its siblings; defaults to lastbrief group help— display help for command
Options#
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
Global options are also accepted.
brief group remove#
Remove a group and its pages (alias: rm)
Aliases: rm
Usage#
Arguments#
<LOCATION>RequiredstringGroup folder to remove
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--redirect-to <page>DefaultundefinedstringRedirect removed page URLs to this page
--allow-404DefaultundefinedbooleanExplicitly allow removed page URLs to become 404s
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief group move#
Move a group tree and update links (alias: mv)
Aliases: mv
Usage#
Arguments#
<FROM>RequiredstringCurrent group path relative to --root, such as docs/v1/guides
<TO>RequiredstringNew group path relative to --root; preserves titles and content
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--no-update-linksDefaulttruebooleanDo not rewrite links when URLs change
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief group add#
Add a group
Usage#
Arguments#
<LOCATION>RequiredstringFolder relative to the Brief workspace, such as docs/v1/guides
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--title <text>DefaultundefinedstringGroup title; defaults to the folder name
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief group inspect#
Inspect authored and effective settings
Usage#
Arguments#
<PATH>RequiredstringSource path relative to the documentation root
Options#
--locale <tag>DefaultundefinedstringTranslation to inspect or update
--jsonDefaultundefinedbooleanPrint a structured result
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief group update#
Update validated settings
Usage#
Arguments#
<PATH>RequiredstringSource path relative to the documentation root
Options#
--locale <tag>DefaultundefinedstringTranslation to inspect or update
--jsonDefaultundefinedbooleanPrint a structured result
--input <file>DefaultundefinedstringJSON settings patch file; use - for stdin
--set <key=json>Default[]string[]Set a field to a JSON value; repeat as needed
--unset <key>Default[]string[]Remove a field or override; repeat as needed
--dry-runDefaultundefinedbooleanValidate and preview without writing
--no-update-linksDefaulttruebooleanLeave authored links unchanged when URLs change
--title <value>DefaultundefinedstringSet title
--description <value>DefaultundefinedstringSet description
--label <value>DefaultundefinedstringSet label
--slug <value>DefaultundefinedstringSet slug
--canonical <value>DefaultundefinedstringSet canonical
--draft <value>DefaultundefinedstringSet draft
--hidden <value>DefaultundefinedstringSet hidden
--noindex <value>DefaultundefinedstringSet noindex
--searchable <value>DefaultundefinedstringSet searchable
--agents <value>DefaultundefinedstringSet agents
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief group order#
Place an entry among its siblings; defaults to last
Usage#
Arguments#
<PATH>RequiredstringSource path relative to the documentation root
Options#
--before <path>DefaultundefinedstringPlace before this sibling
--after <path>DefaultundefinedstringPlace after this sibling
--firstDefaultundefinedbooleanPlace first
--lastDefaultundefinedbooleanPlace last
--locale <tag>DefaultundefinedstringUpdate this locale override
--dry-runDefaultundefinedbooleanValidate and preview without writing
--jsonDefaultundefinedbooleanPrint a structured result
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief group help#
display help for command