Create a profile repository
Use ocp repository create when you want OCP to scaffold a new repository for profiles.
ocp repository create team-profiles --profile-name default
This initializes:
- a repository root
repository.json- an initial profile directory
For the resulting on-disk shape and metadata rules, see Repositories and profiles and Configuration and paths.
In interactive mode, repository scaffold creation also prompts for a directory name, a location path, and an optional initial profile name, then automatically adds the new repository to the registry as a file-based repository.