Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.11 KB

File metadata and controls

58 lines (39 loc) · 1.11 KB

User Commands

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 123456

The short form is also supported:

tapd user roles -w 123456

Output Formats

User commands default to table output:

tapd user roles -w 123456

Use JSON when piping to another program or when you need the full SDK response shape:

tapd user roles -w 123456 --format json

Roles

List role ID/name mappings for a workspace:

tapd user roles -w 123456

Developer Notes

The user command implementation currently lives in:

internal/cmd/user.go

When adding or renaming user commands:

  1. Reuse the typed SDK methods from github.com/go-tapd/tapd.
  2. Keep table output compact and use --format json for full response data.
  3. Update features.md.
  4. Update this document.
  5. Regenerate shell completion files if they have been installed locally.