Skip to content

Latest commit

 

History

History
97 lines (61 loc) · 3.33 KB

File metadata and controls

97 lines (61 loc) · 3.33 KB
title task list
description List tasks

List tasks

Aliases:

  • ls

Usage

coder task list [flags]

Description

  - List tasks for the current user.:

     $ coder task list

  - List tasks for a specific user.:

     $ coder task list --user someone-else

  - List all tasks you can view.:

     $ coder task list --all

  - List all your running tasks.:

     $ coder task list --status running

  - As above, but only show IDs.:

     $ coder task list --status running --quiet

Options

--status

Type pending|initializing|active|paused|error|unknown

Filter by task status.

-a, --all

Type bool
Default false

List tasks for all users you can view.

--user

Type string

List tasks for the specified user (username, "me").

-q, --quiet

Type bool
Default false

Only display task IDs.

-c, --column

Type [id|organization id|owner id|owner name|owner avatar url|name|display name|template id|template version id|template name|template display name|template icon|workspace id|workspace name|workspace status|workspace build number|workspace agent id|workspace agent lifecycle|workspace agent health|workspace app id|initial prompt|status|state|message|created at|updated at|state changed]
Default name,status,state,state changed,message

Columns to display in table output.

-o, --output

Type table|json
Default table

Output format.