set
Sets the specified config item at the project level.
usage: cmri project config set <key> <value>
required arguments:
| The configuration item key to set. |
| The value to set the configuration item to. |
keys
'sub_portfolio'
One of the keys you can set for your project is the 'sub_portfolio' key, which enables you to assign a project to a specific sub portfolio and organizes your Portfolio report accordingly. For example, we have run the following commands against two codebases in a vault:
cmri project config set sub_portfolio "Example Sub 1" -s "Linux/Linux-1" cmri project config set sub_portfolio "Example Sub 2" -s "Freetype/Freetype-2.13.0"
This results in the following layout:
If we wanted to put these two projects in the same sub portfolio, we would run the following commands:
cmri project config set sub_portfolio "All In One" -s "*/*"