Description
The command has to support 2 output format:
- human friendly output: tree representation with component information (not the entire component descriptors)
- machine readable: flat list in
yaml or json
For the machine readable format, it is particularly important to preserve the original ordering (established in ocm v1).
Instead of making the --recursive a boolean, we make it a int with:
-1 = infinite recursion
0 = no recursion (default)
>0 = level of recursion (this will not be available for starters, but the API will still be open for this)
Internally, the recursive fetching of components will built on the resolver config.
Done Criteria
Description
The command has to support 2 output format:
yamlorjsonFor the machine readable format, it is particularly important to preserve the original ordering (established in ocm v1).
Instead of making the
--recursivea boolean, we make it aintwith:-1= infinite recursion0= no recursion (default)>0= level of recursion (this will not be available for starters, but the API will still be open for this)Internally, the recursive fetching of components will built on the resolver config.
Done Criteria