Skip to content

vars missing from Schema docs for Task details #2910

Description

Description

Sorry of this is the wrong repo to raise docs issues in. I couldn't see the docs repo.

Looking at the docs for the Taskfile Schema, it appears that the vars: key for the details of a task is missing. Some of the examples in the docs show this, and I've used this for sometime, so has this been removed recently, or are the docs omitting it incorrectly?

Version

n/a

Operating system

n/a

Experiments Enabled

No response

Example Taskfile

version: '3'

tasks:
  default:
    vars:
      NPM_TOKEN: '…'

Activity

  1. trulede commented on Jul 10, 2026

    @trulede
    Contributor

    @toby-griffiths-at-plannr your observation seems correct. You can open a PR with your suggestion if you want. Its possible the original documentation is available from before the migration to the new documentation system.

  2. toby-griffiths-at-plannr commented on Jul 10, 2026

    @toby-griffiths-at-plannr
    Author

    OK. Can you point me in the direction of the docs repo so I can take a look when I have a moment?

  3. trulede commented on Jul 10, 2026

    @trulede
    Contributor

    Same repo, just do a plain text search on some part of the doc and you should find it.

  4. toby-griffiths-at-plannr commented on Jul 10, 2026

    @toby-griffiths-at-plannr
    Author

    Ah. OK. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions