cub component tree
cub component tree
Show a component's variants as a tree
Synopsis
Show the variants of a Component as a tree, each under the variant it was cloned from, with the release target of each deployment. Without a Component, every Component's tree is shown.
A variant's place in the tree comes from its units: a cloned unit records the unit it came from, so a variant whose units were cloned from another variant of the Component hangs under it. A variant with no such upstream, the base, is a root. A variant whose units have no common upstream, or an upstream outside the Component, is a root too.
Examples:
# One component
cub component tree cubbychat
cubbychat
└── base
├── dev → dev/target
└── prod → prod/target
# Every component
cub component tree
cub component tree [<component>] [flags]
Options
-h, --help help for tree
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
SEE ALSO
- cub component - Component commands