Adds support to a tree hierarchy of kubectl plugins

This commit is contained in:
Fabiano Franz
2017-05-05 19:22:24 -03:00
parent 8594af7676
commit da85262f70
5 changed files with 126 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
name: "tree"
shortDesc: "Plugin with a tree of commands"
tree:
- name: "child1"
shortDesc: "The first child of a tree"
command: echo child1
- name: "child2"
shortDesc: "The second child of a tree"
command: echo child2
- name: "child3"
shortDesc: "The third child of a tree"
command: echo child3