Skip to content

'list' as default task #483

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

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions