-
Notifications
You must be signed in to change notification settings - Fork 255
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
Extension execution model #1039
Comments
👍 |
For clarification, this would mean every project basically supporting some project-specific cli (e.g. triggers, dashboard, operator, etc.)? Think the only thing needed would be some way to avoid overlap between projects, but in favor of the basic concept. We might also want to develop some type of CLI style guide to enforce some level of consistency for these projects. |
Yeah, could if they want.
Definitely 🙃 we could even define some "helper" to make it easy to create those sub cli. |
Generally in support of this (for more validation- this follows a similar model to tektoncd/pipeline#2590). One question (mainly because I'm not super familiar on how this works) - would this model cause any issues for autocompletion? |
Not necessarly. We can "update" our |
/cc @dorismeixing @dibyom |
@vdemeester I think this is a great add. Instead of import shall we have it as |
/assign |
Fixes: tektoncd#1039 Signed-off-by: Sunil Thaha <sthaha@redhat.com>
/unassign |
Feature request
It should be possible to have a simple extension execution model. It would be similar to
git
orkubectl
, in that, if a command is prefixed bytkn-
it could be seens as a sub command.It would, however not be able to shadow existing subcommands, aka if I define a
tkn-task
and put it in myPATH
, it wouldn't affecttkn
.Use case
There is at least two use case that would benefit from this feature:
tkn
experience and gather feedback before integrating intkn
directlytriggers
integration if the dependency of pipeline we track and the one triggers track differs.We could think of quite some use case
Note that the distribution part of this is not covered and can be discussed later on. Once we have that feature we can decide what could be the distribution model (we can also decide it's not in the
tkn
responsabilies and the distribution can be handle separately — by package managers,krew
, …)./cc @chmouel @sthaha @imjasonh
/kind feature
/milestone "0.12.0"
The text was updated successfully, but these errors were encountered: