Use tapd wiki commands to create, list, count, update, and inspect TAPD Wiki
data.
All wiki commands use the configured TAPD credentials from tapd login or the
TAPD_ACCESS_TOKEN / TAPD_CLIENT_ID / TAPD_CLIENT_SECRET environment
variables.
Most commands require a workspace:
tapd wiki list --workspace-id 123456The short form is also supported:
tapd wiki list -w 123456Wiki commands default to table output:
tapd wiki list -w 123456Use JSON when piping to another program or when you need the full SDK response shape:
tapd wiki list -w 123456 --format jsonCreate a wiki page:
tapd wiki create -w 123456 --name "Release notes" --creator aliceCreate a child page with Markdown content:
tapd wiki create \
-w 123456 \
--name "Release notes" \
--creator alice \
--parent-wiki-id 10001 \
--markdown-description "## v1.2.0"List and count pages:
tapd wiki list -w 123456 --limit 20 --page 1
tapd wiki list -w 123456 --creator alice
tapd wiki count -w 123456 --name "Release"Update a wiki page:
tapd wiki update 10001 -w 123456 --name "Updated release notes"
tapd wiki update 10001 -w 123456 --markdown-description "## Updated"At least one wiki field flag is required for update.
Get drawio data:
tapd wiki drawio -w 123456 --id 20001If TAPD requires a token:
tapd wiki drawio -w 123456 --id 20001 --token "$DRAWIO_TOKEN"Table output shows the data ID and XML byte length. Use JSON output for the raw XML payload:
tapd wiki drawio -w 123456 --id 20001 --format jsonList followers:
tapd wiki followers -w 123456 --wiki-id 10001
tapd wiki followers -w 123456 --user aliceCount followers:
tapd wiki followers count -w 123456 --wiki-id 10001List wiki entity permissions:
tapd wiki permissions -w 123456 --wiki-id 10001Filter by target:
tapd wiki permissions -w 123456 --wiki-id 10001 --target-type user --target-id aliceList tags:
tapd wiki tags -w 123456
tapd wiki tags -w 123456 --wiki-id 10001
tapd wiki tags -w 123456 --tag releaseCount tags:
tapd wiki tags count -w 123456 --wiki-id 10001Count wiki attachments:
tapd wiki attachments count -w 123456 --wiki-id 10001
tapd wiki attachments count -w 123456 --filename spec.pdfThe wiki command implementation currently lives in:
internal/cmd/wiki.go
When adding or renaming wiki commands:
- Reuse the typed SDK methods from
github.com/go-tapd/tapd. - Keep table output compact and use
--format jsonfor full response data. - Update
features.md. - Update this document.
- Regenerate shell completion files if they have been installed locally.