-
-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Private tasks #284
Comments
Hi @JulienBreux, Tasks without a It'd be trivial to allow |
The idea of a private task seems interesting to me because it could be reserved for advanced users or automatic actions like Git hooks or CI/CD environment. For example, if there are a series of tasks such as formatting or linting of the code or integration test and deploy, it would be appropriate to hide them from the task list but still recall them from the CLI. The list of tasks could become very long for complex projects, confusing the developer who normally focuses on productivity during the development phase using canonical tasks such as test, run, docs. Although currently the workaround can be implemented by omitting the desc option, in my opinion it would be more appropriate to use a private or hidden option. For the call from the CLI it might be appropriate to include a flag like --include-private, -p to allow its execution although I don't think this is essential as it would complicate the call syntax a bit. |
@BnGx See internal tasks. |
I know the internal tasks, however these are not callable from the CLI and have a different purpose than what I described. |
It's possible to have private task ?
Definition of private task:
task -l
Thanks 🙏
The text was updated successfully, but these errors were encountered: