Skip to main content
For internal includes, see Internal Includes.
Internal tasks are used to define tasks that are not intended to be run directly by users. They are useful for organizing utility tasks that support the main tasks of your project without cluttering the task list. Set internal: true on a task to hide it from the public task list:
Taskfile.yml
version: '3'
tasks:
  secret-task:
    internal: true
    cmds:
      - echo "This is a secret task"
  public-task:
    cmds:
      - echo "This is a public task"
      - task: secret-task
Demo and output
ubuntu@touted-mite:~$ task -a
task: Available tasks for this project:
* public-task:
Only public-task appears in the task list. secret-task is hidden from users but can still be called internally by other tasks.

Build docs developers (and LLMs) love