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

Marking tasks as internal #79

Open
blackandred opened this issue Jun 23, 2021 · 1 comment
Open

Marking tasks as internal #79

blackandred opened this issue Jun 23, 2021 · 1 comment
Labels
FEATURE New feature or request
Milestone

Comments

@blackandred
Copy link
Contributor

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
@blackandred blackandred added the duplicate This issue or pull request already exists label Jun 23, 2021
@blackandred blackandred added this to the RKD 3.0 milestone Jun 23, 2021
blackandred added a commit that referenced this issue Jun 23, 2021
blackandred added a commit that referenced this issue Jun 23, 2021
blackandred added a commit that referenced this issue Jun 23, 2021
@blackandred blackandred added FEATURE New feature or request and removed duplicate This issue or pull request already exists labels Jun 24, 2021
@blackandred
Copy link
Contributor Author

Implemented, watiing for review.

blackandred added a commit that referenced this issue May 6, 2022
#79: Add support for marking tasks as internal
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FEATURE New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant