Use tapd user commands to query TAPD user metadata.
All user commands use the configured TAPD credentials from tapd login or the
TAPD_ACCESS_TOKEN / TAPD_CLIENT_ID / TAPD_CLIENT_SECRET environment
variables.
User commands require a workspace:
tapd user roles --workspace-id 123456The short form is also supported:
tapd user roles -w 123456User commands default to table output:
tapd user roles -w 123456Use JSON when piping to another program or when you need the full SDK response shape:
tapd user roles -w 123456 --format jsonList role ID/name mappings for a workspace:
tapd user roles -w 123456The user command implementation currently lives in:
internal/cmd/user.go
When adding or renaming user 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.