Skip to content

Projects

List, create, inspect, update, and archive workspace projects.

Create, list, view, edit, and archive projects. Alias: pf p

pf projects listList all projects in the workspace

alias: pf p ls

Options

  • --show-archivedboolean

    Include archived projects

  • --sortstring

    name, createdAt, or updatedAt sorts on the server. Any other field sorts the returned page in the CLI.

  • --reverseboolean

    Reverse sort order

  • --visibilitystring

    public or private

  • --querystring

    Text in the name, slug, or description, up to 100 characters

  • --prefixstring

    Task identifier prefix such as PRO

  • --includestring

    stats, links, or both. The extra data appears in --json output.

  • --limitnumber

    Projects per page, 1 to 200. Without it you get one response with up to 1,000

  • --cursorstring

    Continue from nextCursor, with the same filters and sort

  • --allboolean

    Follow every cursor and print one list

  • --pageboolean

    Include projects, hasMore and nextCursor with --json; cannot be used with --jq or --template

Example

Shell
pf projects list
pf projects list --show-archived
pf p ls --sort name
pf projects list --visibility private --query launch --sort updatedAt --reverse
pf projects list --prefix PRO --limit 20 --json --page
pf projects list --limit 50 --cursor '<nextCursor>'
pf projects list --all --json id,slug
pf projects createCreate a new project. In a terminal, a missing --name is prompted for. Without a terminal, the command fails when --name is missing.

Options

  • --namestringrequired

    Project name, up to 100 characters

  • --descriptionstring

    Project description

  • --colorstring

    Project color as a hex value such as #3B82F6

  • --visibilitystring

    Visibility: public or private (default public)

  • --slugstring

    URL slug, 2 to 50 lowercase letters, numbers, or hyphens. Taken from the name when omitted.

  • --prefixstring

    Task identifier prefix, 2 to 5 letters. Taken from the name when omitted.

  • --iconstring

    Built-in icon key such as rocket

Example

Shell
pf projects create --name "Design System" --visibility private
pf projects create --name "Design System" --slug design --prefix DSN --icon rocket
pf projects view [id]View project details, including the task prefix, the app URL, the time estimate, and git automation when set. Opens an interactive picker if no ID is given.

alias: pf p show

Options

  • --includestring

    stats, permissions, links, or any of them, comma-separated

Example

Shell
pf projects view abc123
pf projects view abc123 --include stats,permissions,links
pf p show    # interactive picker
pf projects edit [id]Update project properties

alias: pf p update

Options

  • --namestring

    New project name

  • --descriptionstring

    New description

  • --colorstring

    New color

  • --visibilitystring

    New visibility: public or private

  • --archivedboolean

    Set archived state

  • --slugstring

    New URL slug

  • --iconstring

    Built-in icon key such as rocket

  • --no-iconboolean

    Remove the icon

  • --estimate-minutesstring

    Project time estimate in minutes, or none to clear it

  • --git-automationstring

    Git automation settings as JSON with branchPushStatus, prOpenStatus, prMergeStatus, and magicWords

Example

Shell
pf projects edit abc123 --name "Design System v2"
pf projects edit abc123 --icon rocket --estimate-minutes 2400
pf projects analytics <id>Show a project's task mix and completions in a range. Needs the reports:read scope and a Pro plan.

Options

  • --range-daysnumber

    Days to cover, 1 to 90. A larger value is refused.

  • --fromstring

    Start of the range: Unix milliseconds, a date, or an ISO time

  • --tostring

    End of the range (default now)

  • --timezonestring

    IANA time zone for day boundaries (default UTC)

Example

Shell
pf projects analytics design-system
pf projects analytics design-system --range-days 60 --timezone Europe/Berlin --json
pf projects heatmap <id>Show a project's activity by weekday and hour over recent weeks, with the busiest hour. Use --json for every hour. Needs the reports:read scope and a Pro plan.

Options

  • --weeksnumber

    Weeks to cover, 1 to 52 (default 52). Fewer than 4 weeks shows 4.

  • --timezonestring

    IANA time zone for day boundaries (default UTC)

Example

Shell
pf projects heatmap design-system --weeks 12
pf projects task-counts <project>Count a project's top-level tasks by status, with the open and total counts. Needs the projects:read and tasks:read scopes

Example

Shell
pf projects task-counts abc123
pf projects task-counts abc123 --json
pf projects pin <project>Pin a project to your sidebar, or unpin it. Pins are personal. Needs the notifications:write scope

Options

  • --removeboolean

    Unpin the project

Example

Shell
pf projects pin website
pf projects pin website --remove
pf projects archive [id]Archive or unarchive a project

Options

  • --unarchiveboolean

    Unarchive instead of archive

  • --confirmboolean

    Skip confirmation prompt

  • --dry-runboolean

    Preview without making changes

Example

Shell
pf projects archive abc123
pf projects archive abc123 --unarchive
pf projects delete <id>Delete a project and everything in it. Follows the workspace setting Who can delete projects.

Options

  • --confirmboolean

    Skip confirmation prompt

  • --dry-runboolean

    Preview without making changes

Example

Shell
pf projects delete design-system --confirm
pf projects members add <project>Add a workspace member to a project. Needs a project admin or a workspace owner or admin.

Options

  • --userstringrequired

    User ID of a workspace member

  • --rolestringrequired

    viewer, editor, or admin

Example

Shell
pf projects members add design-system --user usr_abc123 --role editor
pf projects members role <project> <userId>Change a project member's role

Options

  • --rolestringrequired

    viewer, editor, or admin

  • --expected-updated-atnumber

    Fail if it changed since this updatedAt

Example

Shell
pf projects members role design-system usr_abc123 --role viewer
pf projects members remove <project> <userId>Remove a member from a project

Options

  • --expected-updated-atnumber

    Fail if it changed since this updatedAt

  • --confirmboolean

    Skip confirmation prompt

  • --dry-runboolean

    Preview without making changes

Example

Shell
pf projects members remove design-system usr_abc123
pf projects links list <project>List the links shown on a project

alias: pf p links ls

Example

Shell
pf projects links list design-system
pf projects links add <project>Add an http or https link to a project. A project holds at most 5 links.

Options

  • --labelstringrequired

    Text shown for the link, up to 50 characters

  • --urlstringrequired

    http or https address

  • --typestring

    Link kind such as website, repository, or docs

Example

Shell
pf projects links add design-system --label Roadmap --url https://example.com/roadmap
pf projects links edit <project> <linkId>Change a project link

Options

  • --labelstring

    New label

  • --urlstring

    New address, or an empty string to clear it

  • --typestring

    New kind

  • --expected-updated-atnumber

    Fail if it changed since this updatedAt

Example

Shell
pf projects links edit design-system plk_abc123 --label "Public roadmap"
pf projects links remove <project> <linkId>Remove a link from a project

alias: pf p links rm

Options

  • --expected-updated-atnumber

    Fail if it changed since this updatedAt

Example

Shell
pf projects links remove design-system plk_abc123
pf projects links order <project> <linkIds...>Set the display order of a project's links

Options

  • --expected-updated-atnumber

    Fail if any link changed since this updatedAt, the highest among the links

Example

Shell
pf projects links order design-system plk_two plk_one
pf projects icon remove <project>Remove the project icon, whether it is an uploaded image or a built-in icon

Example

Shell
pf projects icon remove design-system
pf projects header-image remove <project>Remove the project header image

Example

Shell
pf projects header-image remove design-system

Create and verify a project

  1. 1.

    Create the project

    Confirm the current workspace, then create the project with an explicit name and visibility. Non-interactive runs must provide the required values rather than relying on prompts.

  2. 2.

    View it

    Capture the returned project ID and view it directly. Verify name, description, color, visibility, and archived state.

  3. 3.

    Set up access

    For a private project, configure membership in Project Feed before creating work that other people must access.

  4. 4.

    Link a directory

    Link a local directory or set defaultProject only after verifying the ID. Run one list command from that context before a mutation.

Shell
pf workspace current
pf projects create --name "Launch" --visibility private --json
pf projects view <project-id> --json
pf link <project-id>
pf tasks list --limit 1 --json

Fix project problems

An archive preview names the wrong project
Stop before confirmation, view the project by ID, and rerun with --dry-run. Include --show-archived when checking the result or unarchiving.

Next steps

Image preview
100%