Skip to content

'list' as default task #483

@hginzel

Description

@hginzel

It seems list command cannot be a default task.

DOIT_CONFIG = { 'default_tasks': ['list'], }

def task_hello():
    return { 'actions': ['echo Hello'], }

doit
ERROR: Invalid parameter: "list". Must be a command, task, or a target.
Type "doit help" to see available commands.
Type "doit list" to see available tasks.

Environment

  1. OS: Ubuntu 26.04
  2. python version: 3.13.12
  3. doit version: 0.36.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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