Skip to main content

mr tags list

List Tags, optionally filtered by name or description. The --name and --description flags do substring matching on the server. Results are paginated via the global --page flag (default page size 50). Default output is a table with ID, NAME, DESCRIPTION, and CREATED columns; pass --json for the full array.

Usage

mr tags list

Examples

List all tags (first page)

mr tags list

Filter by name substring

mr tags list --name urgent

JSON output piped into jq

mr tags list --json | jq -r '.[].Name'

Flags

FlagTypeDefaultDescription
--namestring``Filter by name
--descriptionstring``Filter by description

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Output

Array of Tag objects with ID, Name, Description, CreatedAt, UpdatedAt

Exit Codes

0 on success; 1 on any error

See Also