Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Marking tasks as internal #79

Description

@blackandred

An internal task is a task that is not listed when typing a rkd :tasks command. There should be a switch to show all tasks, including internal ones - rkd :tasks --all

Reasons for hiding a task:

  • Task can be strictly technical, as a part of bigger automation
  • Task could be designed to be a part of pipeline, the user should run only the pipeline

How to hide a task:

  • Define a property is_internal = True, or a property method on TaskInterface implementation
  • Declare a task using TaskDeclaration(TaskInterface, internal=True) to override TaskInterface setting

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

    FEATURENew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions